Manufacturers need to cut costs as electric-vehicle inventories pile up, but this is easier said than done.