With lithium-ion batteries raising ESG-related concerns, investors are increasingly seeing value in long-duration storage.