Why not both? Plug-in hybrids (PHEVs, range extended EVs, that general class of vehicle) give you the flexibility to run on whatever you can find, and also function nicely enough as a reasonably efficient generator for electrical power.
But if you have to pick one, no question, electric. The supply chains for refining and delivering gasoline far, far exceed the supply chain for charging an electric: Sun, solar panels, inverter, car. Probably some batteries on the house side in there, but if you're charging during the day when the sun is out, those are more or less skipped if you have enough panel.
Mad Max has plenty of problems. "Oh no, guzzoline is in short supply, let's use it as fast as we possibly can!" is not a particularly useful way of approaching resource limits. On the other hand, it makes for some absolutely spectacular cinema! I love that Fury Road was almost entirely practical effects - the giant vehicles driving across the desert look absolutely right, because... well, they were giant vehicles driving across the desert. I understand the Doof Wagon (gigantic wall of speakers on wheels) tended to get stuck an awful lot, though.