A LEGO creation brings 18th-century automata to the digital age-no wires, just ingenious gears and pure logic.