I'm pretty sure all those ancient societies didn't have universal human rights and civil liberties. The concept of rights doesn't really begin until the 1600s afaik
What in the world are you talking about? Most societies throughout history had rights for their citizens.
https://study.com/academy/lesson/video/significance-of-citizenship-in-ancient-greece.html
and universal rights until the 1800s at the earliest
See my screed about America. Universal how?
There are non liberal societies right now, they're all dictatorships with no freedoms, hence my statement
But this flatly isn't true. Let's pick a country that both of us probably hate: Saudi Arabia. There are lots of backwards laws and abuses, but cops still typically need a warrant to search your house and aren't allowed to just go in and beat you to death. There are cases where they do anyway, but so it goes in most states. This black-and-white view where people are free in liberal states and there are "no freedoms" in other states is unserious.
It's also worth pointing out, and this might go a little way to explaining your argument with someone else in this thread, that the magical way neoliberals talk about "dictatorship" doesn't make any sense. A government might nominally operate in an autocratic way, where one dude's word is law, but it cannot subsist on one dude's authority. That autocrat's authority is dependent on some class of people who interests he serves creating the material basis for him to keep ruling (Saudi Arabia is a good example, since it is an absolute monarchy that serves the capitalist class). Thus, any so-called dictatorship is really the rule of that class and not of that individual, even if it nominally goes through the decrees of the individual. Likewise, if one class is fundamentally in power, it is no less of a dictatorship if the nominal system is more open, because the real power hasn't changed.
I apologize for being coarse, it's a bad habit of mine.
If the government is democratic, there's very little substantive difference here as-described, because "the government decides X" is an entity with the popular mandate doing it, and if that decision loses it the popular mandate, the people can oppose it. Likewise, if "the people" of a locality decided to build a factory in this hypothetical and a minority opposed it, if the minority cannot sway the majority, they are simply ignored.
The problem comes in when you realize that the goods produced by factories mostly aren't for the use of the local community, they are for a much more expansive group of people. There need to be systems to coordinate production at the full scale of society so that people have some idea of who needs what. It's compounded by the fact that the machines in the factory will themselves probably need to be imported from elsewhere.
Depending on your definitions, you left out Cuba, Vietnam, and Laos. In any case, I don't think most people are able to maintain the "real communism has never been tried" stance. Eventually, you either come down on the side that "No, they were real communism and communism is therefore evil" or "I was lied to about at least some of these countries and should give them credit". For an anglophone, societal gravity is very much on the side of the first option, but it's possible to reach the second conclusion if you have a strong enough motivation to dig through information. Cuba is probably the route of least resistance.