Centuries before the computer, whimsical automata pushed the uncanny boundary between human and machine.