Oh, come on. This has been a theme in science fiction back to at least the 1940s. Jack Williamson's "With Folded Hands" (1947) is probably the clearest early writing on the subject.
"The car turned off the shining avenue, taking him back to the quiet splendor of his prison. His futile hands clenched and relaxed again, folded on his knees. There was nothing left to do."
https://en.wikipedia.org/wiki/R.U.R.
And there is the Golem, which is even earlier.
Also i find it funny how much attention this theoretical problem receives, when we don't have a good explanations on what intelligence is and how it works.
I think that the Robot will not have such an in built desire - if it is based on reasoning then the machine might actually be more reasonable. In other words there is enough room for both Humans and Robots.
The point is that our gadgets become more powerful and more potent as weapons; so as we have a good history of past abuses it is sort of easy to extrapolate to the future.
What is still don't understand: would intelligence be an inhibiting factor - like more reasonable Humans are supposedly less destructive; Maybe the same goes for machines.
I don't buy the argument about competition for resources - With enough effort you can always stretch it so that there is enough for everybody/everything.
Another interesting aspect: once upon a time people would become very agitated when discussing politics (that was when we still had ideological differences and when people thought that their stance does matter); In our time we have discussions about sci-fi instead of that.
That's a very funny short story. A magic story, though, not AI.
"The first registered thoughts on the possibility of artificial, machine intelligence, becoming a risk to humanity stems from the late Industrial Revolution. It was Samuel Butler, in 1863, in his Darwin Among the Machines that suggested machines could eventually replace humans as the dominant agents on Earth"
EDIT: I am unable to find the source. Might have been a halluzination, but I thought I remembered them having a discussion where Eliezer more or less still thought "let the AGI win, humanity be damned". Ah, my brain and I are not in a good relationship.
[1] https://books.google.com/ngrams/graph?content=existential+ri...
"Bostrom introduced the philosophical concept of 'existential risk' in 2002."