In the first set of examples, you have unlicensed work by unlicensed contractors killing people. Survivors are then angry enough at politicians to demand either more strict regulations or better enforcement. It’s a response to your freidman quote
The 2nd example highlights what happens when you have a bunch of unlicensed individuals posing as locksmiths ripping people off because they don’t know how to properly deal with locks. Instead of picking them, they use a drill to destroy the lock and overcharge their victims with new locks. It’s a big problem.
Ie Some regulations are useful.