The new heat-resistant material could revolutionize energy storage, making liquid metal batteries safe for mobile applications.