That is a misconception. A gun is a tool. How you use the tool, is up to the end user.
Saying the gun is designed to kill large groups of people is incorrect. The gun is designed to chamber a small explosion, originating in a small, standardized form-factor cartridge, using a firing pin, with a directed means of egress for explosion products, and an optional projectile.
Yes, the projectile is completely optional. That's what a blank is. A cartridge with no projectile.
The kind of projectile is what is engineered for killing people. Not the gun. Certain types of bullet are designed for people, vs hard objects, like cars, tires, or even robots. (Like UAVs.)
Some guns are designed to be able to fire a projectile with specific needs-- this is what a high-power rifle is. It is able to deliver a projectile with certain needs for a certain application. That application COULD be military use, as many weapons are indeed designed for military functions, but saying they are designed for killing humans is still incorrect-- they are designed for military use, which means they are equally engineered for penetrating armored transports for materiel disposition/denial of service, which need not harm a human at all. A .50 cal anti-tank round is exactly that.
This then devolves into an argument about what the most common use for the tool is. That is a dangerous field to try and wade into, as trying to frame that argument leads to strange conclusions that you most certainly do not intend. Take for instance, common uses for kitchen knives. Or common uses for scopolamine motion sickness pills. (used as a date-rape drug.)
My thrust here: Any object or tool that CAN be easily used to kill/hurt people, WILL be used that way. The vast majority of the discharges of firearms are not at people at all.
https://www.pewresearch.org/social-trends/2017/06/22/guns-and-daily-life-identity-experiences-activities-and-involvement/ Most people who own a kitchen knife, use it to cut up vegetables and meat products in the kitchen for culinary preparation. Some people use them to murder their spouse.
Simply because the gun scares you, and the idea of somebody having one scares you, does not mean the gun was designed to kill people. It is simply untrue.