In at least two european countries that I know of (but probably in all of them) cars need to pass periodic technical inspection to be allowed on the road. Breaks are tested, among other things.
I understand that GP point was about home-made brakes (like the software counterpart), but software on a smartphone is not (yet) deadly for others if it doesn't work as expected.