@pastanaga - I think the same thing happens over and over because fiction is about conflict. I also think that our definition of intelligence is pretty narrow and that could be part of the problem. I mean, you could say that we already have fairly advanced non-human intelligence on Earth in the form of whales and bonobos and neither of those is particularly blood thirsty or eager to kill all humans (even when they know that humans are willing to kill them).
And many of the people who are heralded as being the most intelligent are people who advocate peace and understanding. So maybe the problem isn't that we might create an intelligent machine, but that we might create a self aware one who isn't intelligent.