Microsoft beats earnings expectations thanks to the AI 'transformation'