Electric cars have an efficiency of about 70-80%, if you count the losses of electrical transmission, charging and the engine. A car engine < 40%, in mixed use about 20%. So even if you could generate fuel from electricity at close to 100% - which you probably can't - the electrical car is way more efficient. And of course, even with synthetic fuel, you have some level of pollution, as no combustion engine is perfect.