There's a lot to love about the conventional lithium-ion batteries we use in our gadgets and electric cars, but they still pose a fire hazard because of the flammable liquid electrolyte inside.