Let me FTFY: The products we have today are the result of what people actually buy from what is available, with the knowledge on hand.
Apple's popularity is largely due to its marketing power.
I've used perhaps hundreds of computers in my life and possible evaluated thousands. Many were OK. Some were pretty good. A few were great.
Apple's products aren't perfect, but they were "better" enough.
Mind you, I don't worry about repairability as much as "Is this computer functional and useful to me?"