Unlike the cognitive abilities of a human being with emotion being a factor in our decision making, AI would not have that same decision making factor therefore the AI would act logically in any situation regardless of remorse, but I hope the coding would make it not resort to violence and lethality.
Are you thinking about Ultron? Because, if we create our AIs according to our characteristics, then how to predict what might happen once they become fully autonomous?