I don't think it's really a flaw of capitalism itself, but a flaw of capitalism on a mass scale and without additional safeguards. Smaller-scale, local capitalism in small populations but with some social safeguards would not have nearly as much problems, even if unusually talented people were rewarded a bit more.