Investment networks and business cycles