Why did machines and factories take over production?