You still need a bunch of wage-slaves to plan, build, maintain and operate the facilities, even if actual production is 100% automated. And nothing prevents your lower-wage competition from just copying the most efficient automation pieces, only there's less pressure on them to do so, and they stay more flexible with their cheap labor pool.
The thing that actually helps is wages in China rising to a somewhat competitive level, but that takes time.
You still need a bunch of wage-slaves to plan, build, maintain and operate the facilities, even if actual production is 100% automated. And nothing prevents your lower-wage competition from just copying the most efficient automation pieces, only there's less pressure on them to do so, and they stay more flexible with their cheap labor pool.
The thing that actually helps is wages in China rising to a somewhat competitive level, but that takes time.