From a wood box to the world’s smartest cash machine.