Fuel stations make most of their profits from non-fuel items (in my country, fuel stations sell some of the best coffee), and people will still need those when commuting or travelling. In Norway some fuel stations have started to convert pumps to EV chargers [0], however there isn't really much cost needed to keep a couple of fuel pumps around. Petrol can last a few months in tanks, and diesel can last up to a year.
People are still going to be using petrol for motorbikes and gardening equipment for a long time, and diesel is going to be used by trucks and construction machinery for even longer.
[0] https://insideevs.com/news/532464/fuel-stations-norway-fast-...