Carmakers say lower-than-expected electric vehicle demand has forced them to spend billions on discounts to entice customers.