Microsoft's journey to a $3 trillion market capitalization was significantly driven by its strategic investments in artificial intelligence, particularly its partnership with OpenAI, and the strong performance of its Intelligent Cloud division, including Azure.