The worst thing that ever happened to space
exploration &economics was Star Trek. It
created fantasies that people really believe...
- Space travel is cheap, safe, & convenient.
- Money will disappear when everyone has
everything they want.
- People will want only the basics in life.
It was the envisioned technology that made the fantasy. Their methods of generating power made energy cheap and abundant. The technology of replicators made it possible to produce literally anything out of nothing. When people can get anything they want as easily as picking up a pebble off the ground or a grain of sand on the beach, then no one will make any money selling it. There would be no point in even trying.
Notice how they didn't have to forcibly ban money or have some overtly socialist state. It was simply a matter of creating the conditions to where the accumulation of wealth and money was no longer necessary or relevant.