I do a lot of blacksmith work, and honestly can see a lot of uses for cast projects and a foundry that wouldn't require a machine shop.

Smiths I know have melted down various scrap steel into ingots that they could then form into new projects. The foundry predates the machine shop by quite a number of years