In the west almost all but a small fraction of military procurement is satisfied by private industry. That was just as true in WW2 as it is today. The question is how you manage that.
They're also often used to supply things the government wants such as n95 masks during the pandemic.