Microsoft has built infrastructure allowing large corporations to manage huge fleets of PCs easily and effectively. They also have collaboration tools (Outlook email and calendaring, Teams, Onedrive, etc) that integrate very well with each other and with Microsoft's cloud IaaS and SaaS systems very well, right along with the ability to manage all these in one user profile along with the user's hardware and mobile apps. If you have thousands of employees, it becomes very difficult to manage an IT fleet at that scale. That's Microsoft's true "moat" that no one else is even close to touching.
I've Google Workspace and Microsoft Office both. Google's stuff is garbage compared to Microsoft's Office. Yes, the Office Apps are also degrading in quality - Outlook, which I live in for hours every day at work, has become really bloated and slow, and Copilot search is literally useless, yet the Calendaring, integration with Planner (which is great for group projects), and other features still make it the only game in town.
Teams has become better ever since they have ditched the Electron version of it. It's not GREAT, but it works fine - I have 4-5 meetings every day, including with multiple outside clients, and I've never had problems with it unlike Google Meet (browser-based, so any browser issues break it), WebEx (glitchy, slow), or Zoom (which used to be tight and light-weight but now is not).