There are many situations in which you can shoot someone and still be allowed to buy a gun.
Also, in the cases you can't, it's generally the government stopping you, not the gun companies.