Microsoft is investing in its artificial intelligence capabilities as it works to catch up to Amazon Web Services. Here's what it's been working on.