TOS was written during the dawn of the age of neoliberalism, before the ideology had actually been tested and demonstrated its flaws.
The idea was that we'd all get along as equals and with everyone contributing, our progress would increase exponentially, technology providing enough material...