But we try to mitigate stupidity with childproof caps on medicine. In cars we have lane sensors, airbags, sensors for distance to object ahead, drowsiness sensors. So we can't stop sleepy people from driving, but we can beep at them to warn them.
You are right, immobilizer was a bad comparison. Let me use airbags, some accidentally deploy via potholes. Doing so can cause loss of control of the vehicle. But the odds are far less than the odds of saving a life so we require them.
You cannot legislate away stupidity. But what does that say about the argument that gun owners are pretty uniformly safety conscious 100% of the time? I have zero objections to safe gun owners, I have several friends who carry frequently. I am not sure why we actively want yahoos buying/carrying guns. But the movement to permitless carry is just that, we want yahoos with guns. Heck, let them have guns but require them to use palm readers.