Pain at the pump is pushing cost-conscious drivers away from traditional gas-powered cars toward electric vehicles.