BYD has developed a technology to eject the battery upon a severe crash in order to prevent fires or explosions.
Tesla has developed a technology to suspend the self driving mode milliseconds before crash so they legally aren't liable when the car catches fire or explodes.