The problem with dynamic speed caps is that they fail in very dangerous ways. If you’re on a freeway but your GPS thinks you’re on a residential street, you’re suddenly going much slower than surrounding traffic.
A simpler solution would be to actually enforce traffic laws. It’s only a tiny fraction of drivers who endanger the public. The sooner we identify them and get them off the road, the safer we’ll be.