Microsoft and Alphabet enjoy AI-powered gains from cloud divisions