The Origin of Machines