The military industrial complex is a huge employer, both in the state of California and the rest of the county. The likelihood of enough people saying no to a high paying job like this is effectively zero.
And even if - wave a very large magic wand - every AI/ML engineer in the United States pledged to not work on military applications, the U.S, would just contract that same work out from the U.K., Canada, etc...