It should be mandatory for critical infrastructure like ATMs to have 24hr batteries installed. And some sort of power backup to maintain internet access as well - even if it's just a matter of everyone being allocated a small amount of starlink data or public wifi.
These things have relatively small costs, but make the system much more resilient.