Last time I visited a Chinese factory (which was before covid) it was heavily automated without much staff. They also did have a few foreign laborers who didn't speak the local language, ironically.
I visited a US factory more recently,o and it was all about A.I., automation, and engineers (who maintained and operated the robots). Availability of cheap unskilled labor was not a relevant factor in the business.