As dangerous lithium-ion battery fires are on the rise, regulators and manufacturers are scrambling for solutions.