The Robot Servant of Philon: Around 3rd century B.C.E

The first known robot was called "The Servant of Philon". It was an ancient Greek humanoid figure capable of automatically filling a wine cup when placed in its hand.

The Greek engineer, Philo of Byzantium, also known as Philo Mechanicus, lived during the latter half of the 3rd century B.C.E. (more than 2,200 years ago)

One of his many inventions was a human-like robot in the form of a maid, who held a jug of wine in her right hand.

A mechanism in the robot stopped the cup from overfilling, and when it was about half-full, the left hand gradually lowered, and the flow of wine would stop. The right hand would begin the flow of water, mixing water with your wine.

You could then allow the cup to fill or pick it up earlier if you did not want so much water in your wine. The hand would stop pouring by itself.

The robot was a complex construction consisting of containers, tubes, air pipes, and winding springs, which interacted through variants in weight, air pressure, and vacuum. This is the oldest known robot created by humans.
The first known robot was called "The Servant of Philon". It was an ancient Greek humanoid figure capable of automatically filling a wine cup when placed in its hand

More information here

You can visit the Kotsana Museum in Athens, Ancient Olympia, Katakolo and Crete. Here