This part of ST doesn't really make sense. They're shown as having the tech to build enormous starbases (and with domed artificial habitats like "Running Silent" in the latest SNW episodes), so they don't need planets to colonize: they can just build O'Neil cyilnders.
Not unless they want to be wiped out.
The "who owns the means of production" problem was to be solved by socialism. Which then supposedly enabled the higher productivity and faster development that would lead to the true post-scarcity society - which would be communism. This is especially evident in Soviet sci-fi, which would often poke over that boundary - e.g. Yefremov's description of future communism in "Andromeda Nebula" and "The Hour of the Bull", or Strugatsky's in the Noon Verse series.
Whoever did that is completely ignorant about the meaning of the words "socialist" and "communist", as used in all the countries where communist parties have detained the power.
The comment above is perfectly accurate.
But TNG (and TOS to some extent) is a total post-scarcity society. Effectively infinite energy from anti-matter reactors combined with energy->matter conversion "replicators" solves scarcity totally. The only limit on what can be created is how complex it is, and how advanced the science and engineering of the reactors and replicators are.
Hence TNG society is totally oriented around science and discovery, rather than production, economic growth, and financial gain.