They by definition market their product and win sales. Sales funded Linux and a lot of OSS beyond what hobbyists could possibly have done, an inconvenient truth.
People who want to support their own installation of Linux or FreeBSD do so without considering a commercial OS and a few of them constantly shitpost about how anyone could possibly not make the same choice as they do.
More just an anecdotal opinion but to me the iPad and iPhone (the ecosystem effect) and Apple's marketing are really what gave them the leg up on the personal computing level. I still remember those "I'm a PC, I'm a Mac" ads pitching the PC as the uncool choice. That's a powerful message to people and they must of thought it would work otherwise they wouldn't of run that ad - if not to dev's the general public. Individuals were buying them locally as home machines way before companies really allowed them for work because of this marketing and the easy integration to their other consumer devices - at least that's what I saw locally here (not US).
If it never got popular on the consumer end and I couldn't manage my office docs and such on it, while I may use it at home, many workplaces and therefore the mainstream dev may of never adopted the Mac. What I use at "home", is what I want to use when I come into the workplace. There needs to be a critical mass before most workplaces (where many dev's work) to adopt it and therefore develop an ecosystem around it (e.g. your favourite IDE's, tool chains, etc)
This accident also allows for what-ifs, had Apple been successful with Copland or bought BeOS instead, none of which UNIX friendly.
I was 14 years old in 2005 and knew nothing about programming, but was able to get Linux installed in a few minutes.
There is a real reason, but the part of the brain that makes the decision is different than the speech part of the brain.
After my freshman year of college ended, in the summer of 2006 I replaced my desktop (which was dual-booting Windows XP and FreeBSD) with a Core Duo MacBook, which was just released two months before. It felt great using a Unix machine where I didn't have to worry about driver support, and where I can run Unix applications and various proprietary software packages such as Microsoft Office without dual-booting, emulation, or virtualization.
I've stayed a Mac user since, though lately I'm in the slow transition of switching away; I just replaced my 2013 MacBook Air with a Microsoft Surface Pro 7 running Windows 10 (I love WSL!), and I plan to replace my 2013 Mac Pro with a Ryzen 7 or 9 build sometime in 2022 or 2023, which will most likely run FreeBSD. In the interim I've installed many Linux and FreeBSD systems for work and for play.
The marketing company won.
This is a Major red flag.
Speaking of cheap plastic. "Cheap keyboard" ring a bell?
There was a clear gap in the market for a unix system that was up and running with minimal fuss, apple capitalised (accidentally happened upon) this.