Invent this week: showing that its heavy AI investments can pay off as Microsoft and Google gain ground in the cloud.