Star Trek: The Next Generation deviates pretty interestingly from it’s predecessors. Where earlier Star Trek series focused on a Socialism-like environment, which seemed to be working well surprisingly. However, The Next Generation seems to cast a rather unpleasant light on Socialism in the Borg.
The Borg are a unified hive mind that show no individuality or emotion at all. This seems like the show is going greatly against governments that encourage that, such as Communism or Socialism, however the star fleet exists in a fairly Socialism-like universe. With the existence of replicators, there is no need for anything, which means no real economic classes. There is a social structure, but it exists purely to keep things working, not to enforce any kind of power or economic imbalance. This contrast is interesting by itself, but the fact that it shows up in an American science fiction show just enhances it for me.
Star Trek has had an interesting history with having undertones of political opinions in multiple episodes, and The Next Generation is a continuation of that trend. The Borg represent a dark side of something usually supported by Star Trek