Gasoline is only financially viable because of oil refinery at scale. Once electrification begins to take hold gasoline prices are going to suffer destabilizing swings as low demand drives prices down and bankrupt refineries drive prices up again. These swings are going to drive more consumers over to EVs for purely economic reasons, since at least an EV is price stable to charge.
Once it’s done I doubt there’ll be enough hobbyist gasoline users around to fund a single refinery, let alone any distribution mechanisms. What few refineries that survive will be retooled (at great cost) to produce either the precursors for plastics, or kerosene for aviation fuel. What few ICE vehicles that will continue to work will probably use something akin to biodiesel, something doable in your shed if you’re brave, but extremely rare overall.