First, when a random person buys a computer it comes preinstalled with either Windows or macOS
Exactly.
Reminds me: when Windows 3.1 came out in 1992 I remember hearing a consultant tell our IT department that it was wrong to consider Windows an operating system. Rather treat it as a strategy, they said. I think history (as reflected in these figures) has proven them right.