^One thing to consider with China is that it has rural peasants that comprise ~25% of the total population. This group doesn't necessarily change the population dynamics of China, but it does change its labour dynamics.
Subsistence farmers don't participate in the modern Chinese economy, so from a labour perspective they might as well not exist. The best analogy I can think of in the US is that Chinese rural peasants are like Central Americans who want to move to the US but haven't made the trek north yet. The difference, of course, is that unlike Nicaraguans or Guatemalans, Chinese peasants are ethnically Chinese, live within the same border, and they speak a regional dialect where learning Mandarin Chinese would be like going from Jamaican Patois -> American English, rather than Latin American Spanish -> English. A rural peasant from Yunnan attempting to move to Shenzhen has less rights and ability to access services than a Michigander moving to Texas, but definitely more than an undocumented migrant from El Salvador. If the Chinese government faced an imminent labour shortage in its middle class coastal cities, it could easily, with the stroke of a pen, grant movement rights to tens of millions of rural peasants to fill jobs, while the US would never be able to do something like this with millions of Central American migrants.
Now the counter argument might be that the rural peasant population skews even older than the Chinese average, but I don't think that would stop the CCP from pilfering whatever young people live amongst the rural peasantry for its long term economic objectives. This is exploitive, and it risks collapsing rural peasant society as the old die away with all the adult children of childbearing age thousands of km away on the coast, but I don't think the CCP cares about that.