Not true. Such ramming attacks are actually quite rare. And even when they do occur, they usually cause far fewer accidents. It takes quite a bit of planning or even luck to pull off a significant victim count. In "practical terms" a lot can go "wrong", like people running or jumping away or obstacles stopping the vehicle. And even if not, the victims are rather random, which is often not what amok runners want.
Restricting access to guns has worked remarkably well pretty much everywhere. Turns out, the easier you make it to kill people, the more people get killed. And it's not like firearms have remotely as much legitimate use for average people like cars.