Do companies and villa/apartment complexes have back up generators?

What about losing the a/c when it's so hot? How do you cope?