Growing Chinese competition, compounded by weak domestic demand and US tariffs, has thrown the German car industry into crisis.