Microsoft's shares rose by 4.5%, having previously climbed as much as 8%, following a strong earnings report that propelled the company to a $4 trillion market valuation. This makes Microsoft the second publicly traded company, after Nvidia, to reach this milestone. The company's success is largely attributed to its substantial investments in AI, particularly within its Azure cloud computing business, and the widespread adoption of its Copilot AI tools, which now exceed 100 million monthly active users. Analysts, such as Gerrit Smit of Stonehage Fleming Global Best Ideas Equity Fund, noted Microsoft's profitable and cash-generative transition into a cloud infrastructure and AI leader, despite significant capital expenditures.

Microsoft anticipates a record $30 billion in capital spending for the first quarter of the current fiscal year to meet the surging demand for AI. This aggressive investment strategy positions Microsoft to potentially outspend its rivals over the coming year. The company's multibillion-dollar commitment to OpenAI has been a pivotal factor, integrating cutting-edge AI into its Office Suite and Azure offerings. This strategic move has more than doubled Microsoft's stock value since the late-2022 debut of ChatGPT.

The robust performance of Microsoft, alongside Meta Platforms, also bolstered Amazon and sent chipmaker Nvidia to a record high, with these four major AI players collectively gaining over $500 billion in market value. The top AI-leading companies—Nvidia, Microsoft, Amazon, Alphabet, and Meta Platforms—now constitute a quarter of the S&P 500. Notably, Microsoft reached a $1 trillion valuation in 2019, while its progression to $3 trillion was more gradual compared to Nvidia, which tripled its value in roughly a year to hit the $4 trillion mark on July 9. Apple, for comparison, was recently valued at $3.12 trillion. In its FY25 financial results, Microsoft Cloud revenue surpassed $168 billion, a 23% increase, and Azure alone grew 34% to over $75 billion, highlighting strong demand across all cloud workloads. The company secured major client deals such as Nestle's migration of over 200 SAP instances to Azure and Barclays' expansion of Microsoft 365 Copilot to 100,000 employees. Capital expenditures for FY25 reached $24.2 billion, with over half invested in long-lived infrastructure assets, supporting a $368 billion commercial backlog and a planned $30 billion for Q1 FY26. Microsoft also aggressively scaled its data center capacity, adding over two gigawatts and making every Azure region AI-first, with AI infrastructure upgrades and liquid cooling to enhance flexibility and performance.