Robots have being inspiring us since well here is the wiki about it :
When societies began developing nearly all production and effort was the result of human labour. As mechanical means of performing functions were discovered, and mechanics and complex mechanisms were developed, the need for human labour was reduced. Machinery was initially used for repetitive functions, such as lifting water and grinding grain. With technological advances more complex machines were slowly developed, such as those invented by Hero of Alexandria (in Egypt) in the 1st century AD, and the first half of the second millennium AD, such as the Automata of Al-Jazari in the 12th century AD (in medieval Iraq). They were not widely adopted as human labour, particularly slave labour, was still inexpensive compared to the capital-intensive machines. Men such as Leonardo Da Vinci in 1495 through to Jacques de Vaucanson in 1739, as well as rediscovering the Greek engineering methods, have made plans for and built automata and robots leading to books of designs such as the Japanese Karakuri zui (Illustrated Machinery) in 1796. As mechanical techniques developed through the Industrial age we find more practical applications such as Nikola Tesla in 1898, who designed a radio-controlled torpedo, and the Westinghouse Electric Corporation creation of Televox in 1926. From here we also find a more android development as designers tried to mimic more human-like features including designs such as those of biologist Makoto Nishimura in 1929 and his creation Gakutensoku, which cried and changed its facial expressions, and the more crude Elektro from Westinghouse in 1938.
Sci-fi moved forward the idea of humanoid robots laboring and waging wars for us or against us and thus inspiring artist to create more and more exceptional concepts of the idea of humanoid robots usually depicted in futuristic scenes and here are some great examples.