I don't see how this is based in reality. You're running low on gas? You go find a node in the gas station network.
Battery running down? Go find a Supercharger station. If you're in a Tesla, it will even route to these automatically. It will tell you in advance how many chargers are operational, and how many are occupied, and it will reroute to a less busy station if available.