General Motors has been hit with a $6 billion charge tied to its electric-vehicle business, the clearest signal yet that the ...