The robot relaxes a bit. This patting likely wouldn't have worked if robots weren't oddly attracted to Nikki. Nikki thinks this robot may have just been scared. People forget that most AIs have minds just as well-developed as most species and end up just trying to kill any AI that looks at them wrong.