The first approach of using hydrocarbons as an energy buffer makes perfect ecological and economical sense and is most likely strictly necessary for a carbon neutral energy grid (barring battery breakthroughs), once we reach 60-70% renewable energy in our grids.
The latter approach however makes no sense at all, because we simply don't have enough space for wind and solar to feed our thirst for hydrocarbons with renewable power. The energy losses, both in the step creating the fuel, and in the step turning fuel to useful work, are just too great to fuel every car or heat every home in the world like that.