As Detroit writes down billions, a luxury brand is widening its electric lineup instead.