There is no free ride. The energy to push a car must come from somewhere. In an electric car, it comes from the batteries. The batteries get their energy from electricity. The electricity gets its energy from a generating station, which gets its energy from coal/oil or some other fossil fuel.
Every conversion of energy involves a loss of energy, in the form of heat.
This is obvious to someone who last took physics in high school.
Making the batteries involves an energy cost. Disposing of them when they fail (inevitable) involves a cost.
I ran all the numbers once, and if I remember aright the electric cars were something like 20% more efficient just going down the road.