The ghost in the production machine: the laws of production networks