To use that excess electricity (obviously, only excess when the wind is blowing just right, or the Sun shining) to electrolyse water by passing it through a fuel cell and then store the resultant hydrogen.
FORBES: Apple Wrongfoots Greenpeace over Renewable Power for the iCloud