From health spas to film storage, salt mine caverns have been put to use in surprising ways—and they’re now poised to contribute to the generation and storage of clean energy.