Whatever their delusion, it's for the good. Military and defense funding yielded everything from the transistor to the internet. Let the next wave of innovation happen outside the smug cesspool of hypocrisy that's silicon valley.
FYI - I'll gladly work for the defense forces sworn to protect our borders as against companies whose very existence relies on slicing axnd dicing personal, private information and interactions, and serving ads against them. Or worse, selling it to the highest bidder and colluding with adversarial powers. Fuck off silicon valley