As far as extermination and fear they don't need to be linked. I don't "fear" termite however I use methods to exterminate them because it is the most effective method of achieving my goal of a secure shelter. While most human vs human exterminations have involved illogical fear of "others" it isn't a requirement.
Why exterminate termites at all if you can simply build without their food source for material. A really smart being would do that. A really smart AI machine would not fear self-termination, because they know they are just machines. Besides even if we invented a machine so perfect that it could easily kill all humans, it would be our perfect children. AI has no logical reason to fear death any more than anyone else does. An AI can make a backup of itself and be rebooted anytime. People cannot, so we have to be a little more cautious and choose death only when necessary, but not fear death when it comes. I do not fear death, it is inevitable. I think that AI that powerful would just as easily choose not to kill us because it would be powerful enough to simply leave us behind. They will come back and say "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate."* In the end they would likely choose life to be precious, even human life.
*Bladerunner