It’s an obvious truism, but one that may soon be outdated: The problem with solar power is that sometimes the sun doesn’t shine.