We already have something very close to automated killing machines: anti-aircraft missiles. Couples with radar systems they can identify hostile and go and destroy them pretty much without human guidance
https://www.theguardian.com/us-news/2014/nov/24/-sp-us-drone...
https://www.reuters.com/article/us-yemen-security-attacks/tw...
Better in this context means more bombs on foreheads.