There is a clip circulating recently of a guy in China carrying his e-bike battery into the elevator. Than that thing explodes and the guy dies in a sea of flames. Yeah carrying a cheap high capacity li-ion pack into a enclosed space is not a good idea.
And perhaps it's time for apartments to provide battery charging on the ground floor. Have a fire door or something where the people are, and enclose it in concrete. That way it quarantines the risk, while promoting EVs.
Quality control exists to ensure li-ion batteries don't spontaneously combust, or at least not as often. Same reason why old timey film reels were kept under very carefully controlled environments, those things can also spontaneously combust. Any place that allows QC to be skirted will result in accidents and deaths like that elevator guy.
There's a video circulating few days ago of electric scooters on a truck delivery catching fire. The funny thing the fire happened right under an Ioniq 6 billboard.