Apple makes decent consumer oriented devices all-in-all. The turn it on and it just works crowd gravitate to them. Not to say a Windows or Android device isn't turn it on it works. Just that Apple, with their closed ecosystem, has much tighter control and thus better ability to make sure the "it just works" part stays in place. For instance, look at the app submission requirements difference between Apple and Google. Worlds apart. Apple has an extensive list of requirements and one dare not deviate from them if you want your app published. Google, on the other hand, is pretty much anything goes. Unfortunately, the price Apple owners pay for "it just works" is generally a much higher initial purchase price and somewhat fewer software titles to select from. RP being one example. For the person who has zero interest in 'learning' a device and would rather simply 'use' a device Apple is the way to fly. The vast majority of consumers fall into the 'use it' category and thus why Apple is a good choice.
Consumer devices is Apple's playground. When it comes to heavy iron - servers, render farms, enterprise, etc. - Apple is a no-show with less than 1% of the market. Windows dominates and the rest is Linux. That alone deflates the argument that Windows is an inferior operating system. An awful lot of Windows bashing is not truly the fault of Windows. Much like a locomotive, the man on the throttle plays a big role in how well the machine does the job.