Chinese factory owners are increasingly turning to automation, leaving millions of low-skill workers with an uncomfortable sense of impending obsolescence.