A drop in demand for fossil-fuel cars has hurt the world’s biggest EV maker