The company that invented the cloud business is widely perceived as trailing its rivals in artificial intelligence.