The battle is over safeguards that would prevent the government from deploying its technology to target weapons autonomously.