Some private cars do NOT use it and instead have their own generator. In theory you could have one with no lights, etc at all.
I’ve been on an Amtrak where it lost hotel power; nothing but emergency lighting until they got to a station where they could swap the locomotive.
But the train kept running, and the conductor had to walk the entire train announcing stops verbally; with no PA system.
Wow. That is crazy and surprising. I can see losing air conditioning, but the PA should be considered mission critical.
Way back in the day of steam heating was via open-cycle steam and electric lighting via generators on passenger car axles with a local battery to keep the lights on while stopped.
Eventually with the end of steam they switched to electric heating and can conveniently siphon off electric lights from that.