It takes catastrophic circumstances to bypass the fail-slow idiot proofing engineering that goes into consumer device batteries. The gassing off bubbles and warped laptop frames and all the stuff that goes into preventing things from catching fire and/or exploding makes it a vanishingly small probability, on the level of things like getting struck by lightning, attacked by a shark, or having space rocks land on your house. Such things happen, but it's not something you need to expend resources on. Sure, if you're a surfer, a golfer, live near an ISS dumping lane, or run a laptop repair shop, then take measures. If you're replacing a battery on your own laptop, once every couple years, it's not anything to waste concern on.
Hoverboards and DIY vape rigs are honorable mentions, but problems with those tended to be caused by shoddy, third rate manufacturing of the electronics and batteries, and now even the third rate cheap crap is pretty darn safe. Apple isn't putting components teetering on the edge of catastrophic failure into their products, and judging by the absolute numbers, neither is anyone else. That there have been fewer than 10k incidents in the last decade of consumer device failure causing battery fires or explosions, and many many tens of billions of battery powered devices, paints a picture of humans successfully taming lightning.
Big batteries in electric cars like Teslas and other higher powered uses do require a different safety mindset. The consequences are orders of magnitude higher, and rate of failure are higher as well, with frequent chain reactions and runaway, uncontrollable fires that can melt rock being a thing first responders and junkyard operators have to contend with.
If you can explode a MacBook or laptop doing anything a normal consumer might plausibly attempt, the manufacturer would probably pay you a bounty. Batteries are safe.
The odds of being struck by lightning over the course of your life are around 1 in 15k.
The odds a device you own catches fire during your lifetime are around 1 in 1 million, assuming 20 such devices. Those odds get better year over year, and solid-state electrolytes, among other innovations, will make fires and explosions a thing of the past.