Suppliers are battling to adapt in a technology race involving the shift to EVs and software-based features such as autonomous driving, while facing stiff competition from China.