There are some hadiths that say creation is haraam.
'Aisha reported: Allah's Messenger (may peace be upon him) visited me and I had a shelf with a thin cloth curtain hanging over it and on which there were portraits. No sooner did he see it than he tore it and the color of his face underwent a change and he said: 'Aisha, the most grievous torment from the Hand of Allah on the Day of Resurrection would be for those who imitate (Allah) in the act of His creation. 'Aisha said: We tore it into pieces and made a cushion or two cushions out of that. [Sahih Muslim Book 024, Hadith Number 5261]
Abu Zur'a reported: I visited the house of Marwan in the company of Abu Huraira and he found pictures there, whereupon he said: I heard Allah's Messenger (may peace be upon him) as saying: Allah, the Glorious and Exalted, said: Who is a more wrongdoer than one who tries to create creation like Mine creation. Let him create an atom or a grain of wheat or that of barley. This hadith has been transmitted on the authority of Abu Zur'a and he said: Abu Huraira went to the house of Sa'ld or Marwan which they had built in Medina and he (Abu Huraira) saw a painter who had been painting pictures in his house, whereupon he told that Allah's Messenger (may peace be upon him) had said like this, but he made no mention of the words: "Let him create the grain of barley." [Sahih Muslim, Book 024, Hadith Number 5275]
But as long as the creation is not a tangible object, it looks like it's fine.
So, how about robots? Today, there are many robots that attempt to walk, move, and talk like people and animals. Does this follow the same category as paintings? Many of them don't have a human face and don't even look very human.
Bonus question: What about artificial intelligence that isn't in a physical form but tries to replicate a human mind exactly?