I disagree. While some ICE cars can be driven significantly past zero miles remaining, others can’t. Some cars have a buffer to protect their fueling equipment (a good example of this is a new VW TDI that leaves one gallon of buffer in the tank because the high pressure fuel pump is cooled and lubricated by fuel - running too low will damage it).
New Teslas can often be driven past zero miles remaining. How far depends on the specific car. Aged Teslas sometimes cannot. Some 90 kWh owners have had their vehicles shut down with available miles still showing on the meter.
So my point is to be careful with generalizations. Newbies may take what you say and get themselves stuck.
My Escape shows empty and Zero miles remaining with 8 litres (2 gal) left in the tank. Same fuel pump issue. It will burn out if run completely dry.