It would need to bear in "mind" tho, that it needs people to service its many needs, power, infrastructure etc etc.. There would be many things however clever it was, that it couldn't do for itself and eliminating all humans would actually be a form of suicide at the end of the day. Just a thought