The genius of capitalism is in its unique ability to harness the energy of sociopaths* to produce valuable products and services**.
If there was no freedom to amass fortunes, these people would still exist, and they would do even more damage in whatever theoretical social structure we would have.
* And to a lesser degree, the self-interest everybody naturally possesses.
** Minimizing negative externalities is the responsibility of government accountable to the people.