The made their leaders into gods. The Pharaohs were deemed to be living gods, and the Emperors of China also were divine. (The Roman emperors were made divine sometimes after their deaths, like the Divine Augustus. Some of them, like the demented Caligula, actually thought they were gods).
Ancient China was not communist. Not even the maddest emperor or king ever did to his own people what the Communist regimes did to theirs. The KGB itself admitted that over 80 million people were murdered by the regime, from the time of the revolution to the fall of the Soviet Empire.
And Pharaoh and Emperor alike absolutely denied the importance of the individual, except as servants of the royal or imperial order. The importance of the individual is a recent notion, soft, romantic, politically correct (may God help us) and democratic, and only possible in rich, peaceful, and stable countries, where people have a lot of time on their hands to mull over romantic love and not offending others with indelicate speech or perfumes.
The hierarchy the old monarchies is based on military power. How else would you stay in power, without force, and the fear of force?
And a hierarchy IS social order.