I’m not sure how they can. The liability of turning off power without a large amount of advanced notification would be tremendous. Turning off the power to a customer’s house could mean turning off a home dialysis machine or ventilator for goodness sake.
There are battery backups for blackouts, but all it takes is one failing and all of a sudden the power company is liable for someone dying.