Can't say for sure, but I'm gonna say it depends... I mean, interchangeable parts came about 'cause of guns. But the cotton gin an' the mill came about for trade.
Th' printing press was for religious reasons, an' then for education. [ Of course, everything eventually gets turned into a tool for the military, because humans can't keep anything pure. ]