Solar => Car battery you only lose about 10% of energy.
You lose more than that in refining oil to gasoline. And a lot more when factoring in extraction + transportation + point of sale.
Closing the loop makes solar => car even more efficient, not less.
Sure, if we want to be dumb and extract oil to power inefficient turbines to generate electricity this becomes a talking point. But not many people are building new oil power plants for a reason...