But there are other cases where peoples’ lives were saved by such machines. E.g. billions of dollars in weaponry has been supplied to Ukraine to defend the country from invasion. Was that immoral too?
Our tolerance for misery just because something is impressive is a bad thing about us and we should strive to be better than that.
These machines are not really for dealing death, even though that is what they do. They are just as capable at preventing innocents being killed. They are mainly intended as a defensive tool.