The same can be said for the use of cars, fake melee weapons, choreographed fist/martial arts fights, literally every stunt done in films ever etc. etc.
Then let's also get rid of vehicles of any sort (cars, boats, helicopters), the entirety of the stunt profession, and now we're looking at needing to even do things like have totally open sets with nothing that could be tripped over by the actors.
Everything has an element of danger to it, some more than others. That's why those safety precautions exist and, in the context of film, are overwhelmingly effective at preventing serious accidents outside of very rare occurences like this when the precautions aren't followed.