GM has been changing plans to cope with a slower-than-expected EV adoption rate, and it's costing the company a lot of money.