It's not the lithium that's burning - it's first the electrolyte, typically ethylene carbonate, which decomposes the cathode - a process that releases oxygen, which in turn fuels the fire.
There's actually very little lithium by weight in li-ion batteries.
There's actually very little lithium by weight in li-ion batteries.