What is good for you, me and humanity isn't necessarily what is good for a specific company.
That humanity benefits from a business strategy doesn't really validate that strategy for that business.
I am not trying to say that companies should be selfish or something like that. But I often hear these silly argument to the effect that Apple somehow made a wrong choice because they don't have the majority of the market.
From a pure business perspective Apple has made a completely superior choice to pretty much everybody else. They are still in the computer industry and that have around 60% of the profit in that market.
Kind of like how in the smartphone market they have a minority of users but something like 90% of the profits.
As to what has benefitted humanity, that is hard to decide in retrospect. I don't have a crystal ball but I personally think the dominance of the PC was a terrible outcome for the computer industry.
It left us with one of the worst computer architectures we could possibly have had. There where so many better architectures out there to choose from which all died thanks to the success of the PC.
If the PC had never arrived I think we would have had a much more interesting and diverse computer market. We might still have had Acorn Archimedes, Amiga, NeXT, SGI, Sun, Atari and many others.
And even if we had only been left with Apple which I find highly unlikely, I think the world would likely have been better off. So many people have lost sleep and money over PC trouble, viruses, software problem and incompatibilities. I am not sure lower hardware costs could entirely make up for that.