Ford Motor said the costs come from its decision to make fewer electric vehicles than it had planned and more hybrids that use both gasoline engines and batteries.