Apple, pretty much singlehandedly, invented an entire category of computing (the smartphone), and reaped the market rewards for it. They were ready, saw the opportunity, had the business chops to make the most of it, and got fabulously rich in the process. An example of the system working does not mean the system always works. There's been a lot of dirt done over the years.
That's not to say I'm anti-capitalist by any means. I think it's a great economic engine and a tool for great good. That we can never turn our backs on, lest it devour us. ;)