Microsoft shares jumped nearly 9% in extended trading on Wednesday after the company announced forecast-beating quarterly results, driven by growth of its AI and Cloud businesses.