European carmakers are struggling with weak demand, high production costs, and managing the shift to EVs, while trying to fend off competition from China.