Microsoft is a major investor in the artificial intelligence firm and its primary cloud provider.