China, 'factory of the world,' is losing more of its manufac