A firearm is a machine. We even have so-called "Machine Guns". All firearms require external input to operate, and cannot operate autonomously.
You can affix a firearm to a robot, however the firearm still requires input to operate.
IMHO it's a pretty fine disinction between a remote-operated gun and a gun that needs to be held by a human hand. (to be clear, i think police should have fewer guns regardless of how the trigger gets pulled)
Some commentators are saying that by removing the safety of the operator from the equation changes things. Sure, it alters the ethics, but that doesn’t change the nature of machine itself.