When René Descartes watched a mechanical figure move with lifelike precision in the 17th century, the scene unsettled him.