BERLIN—For three decades, China’s burgeoning demand for German cars, machines and engineering tools has been a steady engine of growth for Europe’s largest economy, gratefully championed by successive governments in Berlin.
But the engine is starting to splutter. China’s economy is slowing and its factories are becoming rivals to the German giants that once supplied them.