The German luxury carmaker said its latest compact sedan solves problems that have kept people from buying electric vehicles.