I am currently in my work office in Madrid, main building has electricity so I guess they have some backup generators, the kitchen however is out of service. According to local newspapers metro network, airport and traffic lights are all down
most office buildings have gas(methane) generator backup.
Maybe a tech company with servers will pay extra for full backup, but it’s not typical.
Without fail, during every grid outage, some will fail to start and there will be elevator rescue calls throughout the city.