Port capacity and equipment scale, willingness to engage in toxic processing, etc carry far more weight, IMHO.
China has a lock on various electronic production streams by having a lock on most of the rare earth processing and dealing with the low level radioactive waste by products.
One billion tonnes of raw iron ore per year flows from my state of Western Australia to China for steel production - the machinery, diggers, haul paks, massive trains, et al make that happen in a state with a population of only ~2.3 million or so with few of those in mining. 16x peak US iron ore production for steel with a workforce smaller than the US's at it's peak.
China didn't just fall into peak manufacturing capacity by a happy accident of many workers, they (for better or worse) made long term plans and stuck at them - including the reduction in population growth known as the one child policy.
Current Chinese pharma production is a truly bespoke behemoth - it has a massive capacity that can easily make small to order amounts, and again that's due to factors such as education and well automated pipelines.