The electric-vehicle boom was supposed to simplify driving choices: plug in, skip the gas station, and help cut emissions.