I figure it was one of two things
Option One) The robot recognises his owners box and tried to take it before the authorities got to it
Option Two) Object is recognisable, like a holy grail type item, and robot tried to steal it when he saw it.,
I prefer option one, the robot appeared loyal initially, so makes more sense