There is a difference. Amazon doesn't have an OS. Google does but it's not for developers, yet. Apple's is but they care only about their own walled garden, the entrance fee is expensive and they don't have the online ecosystem that Microsoft has built and acquired in the last years. Microsoft is in a good position to control the new developers' experience from the OS to the tools to the deployment cloud (Azure).
But there is alternative OS - Linux.
Lately I know only devs that work either on macos or on Linux. I haven't seen Windows anywhere since few years (except when I do cloud gaming).
I know. I've been developing on Ubuntu since January 2009. Before that I was using colinux on Windows XP, a Linux kernel in a Windows process, somewhat similar to WSL.
In what world is a 10-year-old locked in to the MS ecosystem any more than they were in the days of win32 and IE6? If anything, I'd look askance at Apple for Safari's hiding of `view source` by default...