Purely from a cabin perspective, and in terms of dealing with consumer electronics which utilise such batteries. We are taught to extinguish with Halon/BCF and submerge, where possible, in water. Thankfully, we carry large ice bins which when full of water, will submerge almost all consumer electronics completely. If we can't submerge, then douse continuously with water till cooled.
Interesting discusion.