I think you haven’t been paying attention to the market then over the last couple years. Despite getting hammered recently, it is still up 100% from 2023 lows.
AI has had very little to do with MSFT growth. Pretty sure the 2023 lows were a response to the massive AI spending, and the recovery mostly due to continued Azure services growth.