And this is why when buying (or building) a windows based PC it’s important to buy quality hardware components from reputable brands. You want an Asus or Gigabyte motherboard, named brand RAM, name brand harddrives, power supplies ect. The motherboard is especially important. ASUS and Gigabyte continue bios updates years after they release motherboards to make the already rock solid experience even better. They also use top quality chipsets from the likes of Intel. This is important because Intel typically has rock solid drivers. So yes, it’s important to make sure the software that controls the hardware is up to snuff. I think a lot of the issues people have had in the past with Windows computers is related to what you said in that Apple only has a few SKUs of hardware to deal with so they can easily make sure the drivers and bios for that particular computer works near flawlessly. The same experience can be had from a Windows PC, but it does cost more money. You cannot buy a $300 windows PC tower and expect the operating system to run like a base $2000 macOS model. The drivers on that $300 PC are probably awful and will make the computer freeze and BSOD like crazy and in those circumstances I can see why one might move to a mac.What developer is going to spend a ton of time on the software for cheap hardware? However with the right hardware you can have your cake and eat it too with Windows; rock solid experience and a plethora of applications and granular control. You may get the rock solid experience on macOS, but the software and level of control is just not anywhere near Windows.
These exact same things can be said about iOS and Android. The fact that Apple only has a handful of phones to deal with regarding software to interface with the hardware gives them a distinct advantage. Android, like Wndows, needs to be able to function with an almost infinite amount of hardware, but that’s not the case with iOS. But on the mobile front, I don’t think the gap is anywhere near as wide as it is with Windows vs macOS. iOS and Android are slowly becoming nearly indistinguishable from one another and the app selection on both is pretty excellent.