Both I think. Weapons manufacturers are the obvious one. But more importantly IMO is that there are a couple of tech units in the army (look up 8200 for example) whose graduates start a lot of startups (frequently skipping university). Some of these startups are arms/cyber related, but not necessarily. It's one big feedback loop really.
You're assuming that the probability to be drafted is the same for a tech worker as for the rest of the population. I don't know whether that's a valid assumption or not...
I'm not sure of the statistics but this is probably roughly true. Probably higher, actually, as tech workers tend to be more from populations that actually enlist in the military, and tech is a huge sector of the economy.