China and Germany trade places as the world’s factory