That’s just a small tidbit on the history of robots in science fiction. More in this lovely article from The Mind Museum:
Edward Ellis’s Steam Man is an early example of the Edisonade genre of science fiction. Derived from Thomas Edison’s name, the genre describes stories that feature an ingenious young American inventor, who uses his inventions to go on adventures, solve problems, and defend himself against his enemies. The invention often has many purposes, such as weaponry and transportation.