Artificial servants, autonomous killing machines, surveillance systems, and sex robots have been part of the human imagination for thousands of years. Robots have histories that extend far back into the past.
https://thereader.mitpress.mit.edu/the-ancient-history-of-intelligent-machines/