American military is planning to build robot soldiers that will not be able to commit war crimes