that brought down the USSR's economy was a shrinking population. Guess what? China's workforce peaked a couple of years ago and will fall off a proverbial cliff over the next 10Y as the last of the pre one child policy workers retire. Another factor that did in the USSR was excessive government debt. We've got that problem now, but China has it worse.
The last thing I will say is that China made a huge transition from state-managed communism toward capitalism over the period between 1990 and 2012. But under Xi, those reforms have gone in reverse. Xi is a control freak who doesn't want to trust non-government companies with too much economic power. So he has chosen to rein them in. Unless he loses power over the next few years, I think that will prove to be the economic undoing of China.