Android

An android, android robot, or humanoid robot, is an advanced form of robot, equipped with a self-aware artificial intelligence and made to imitate humanoid lifeforms.

Examples:

In The Day the Earth Stood Still, the Humans were afraid of an android character named Gort.

Lieutenant commander Data, who served the Federation in Star Trek, and was the only android regarded as sentient.