We are constantly making efforts to improve automobile safety. Driving a car requires a license, which can be revoked. We're making efforts toward self-driving cars, because humans aren't competent to drive them. It's a silly comparison.
Madmen are part of the human condition. Violence is part of the human condition. Guns are not part of the human condition, and we could do without them if we so chose.
I agree that we shouldn't make policy based on rare events like what happened in Orlando. But there are a lot more deaths due to guns than that.
I'm not denying that guns may be a useful tool. But whether they provide a net benefit to society, make us safer, etc, that's well up for debate.