The battery doesn't generate any energy though, it just stores it. I mean, technically, the gasoline is just storing energy too, but it was generated naturally long ago. You still have to burn some fuel somewhere to recharge the battery each time.
Many shale-oil outfits, spend more energy on retrieving the oil, than the oil actually contains. Oil can be profitable, without being a net energy gain, meaning it's true value is in it's ability to store energy.
It seems obvious that a battery needs to be charged. But it's not true that fuel has to be burned to recharge the battery. There are many other, cheaper, sources than burning things to turn a turbine to generate electricity.