It's never really that clear-cut, though. Human drone operators, pilots, etc. routinely send missiles into cars, buildings, weddings, etc. that cause collateral damage, killing or maiming innocents and passers-by. Sometimes it's an accident, but not always.
And that's just when we even try to limit damage, vs indiscriminately firebombing or nuking entire cities.
We shouldn't demand perfect accuracy of AI when we don't expect the same of humans. Long ago, we decided collateral damage in war is acceptable, especially when you end up winning the war and there's nobody left to prosecute you except historians =/