Europe's largest carmaker has hit a rough patch amid US tariffs, uneven demand for electric cars, and fierce competition from and within China.