I would never work at a company that designs and builds missiles or fighter jets, but I would work at a cloud provider that provides infrastructure that is used to design missiles or fighter jets, in the same way that I would work at a telecoms company that provides the phone systems to a defence contractor.
Being one level removed, and providing "neutral" services, is a substantial difference for me, and I suspect for most people.
Actually there was a big uproar about exactly this several years ago https://www.theguardian.com/technology/2018/mar/07/google-ai...
I'd be overjoyed to help create the tools to drive the invaders out of Ukraine for example, but not so much to try to finally kill the rest of the browser market or to serve shady ads.
Yes, while I am not exaggerating I am probably a bit one sided here - I know there are parts of Google that I have nothing against like GCP - but I am serious: Much rather work for the military than Google.
Project Maven? Dragonfly?