It should be noted that peak energy expenditure for air conditioning happens more or less at exactly the moment when the influx of energy from the Sun is also at its peak. That's, like, a gigantic hint that mother nature is dropping on you, hoping you'll notice it. The disease, and its cure, are gushing forth from the same place at the same time.
Probably most of the energy for air conditioning in the future will not come out of storage, but it would be produced at the moment when it's consumed, by solar panels or some other solar technology.