Gas stations around me do not generally have a public restroom due to the sheer amount of abuse they are subject to. The very few that do are the “get a key from the attendant after purchase” variety and you’d only use those in a very very dire emergency. You also have to know to ask and likely be known by the attendant since they all have “no public restroom” signs.
It’s a tragedy of the commons sort of situation. Any business that provides it requires 24x7 on-site personnel willing to get into fights with the homeless, drug addicts, and mentally unwell folks. On top of the normal abuse the general public puts on such facilities. The police will be unlikely to respond to such trespassing calls in a timely manner.
An unmanned charging station would be an epic shitshow in a major city if it had public restrooms. You would be talking multiple six figures a year to maintain such a thing. It’s not a “send a cleaning crew once a day” sort of enterprise.
Hell, even with only ride share and delivery driver demographics it would be untenable. My alley is near a major commercial corridor but not crazy busy - with literally hundreds of trash cans lining both sides of it. Every weekend I’m picking up a couple bags worth of trash tossed out of the windows of DoorDash drivers, and every single night I have multiple drivers on my security cameras taking a piss behind my garage. The latter I understand and I “get it” - but the former is inexcusable since it would take literally 15 seconds to get out of your car to toss the McDonald’s bag into a can if you were assed enough to do so. Heck if it’s too cold out you could simply reach out your window and make it happen if you were so inclined.