One example I can think of is Google + Project Maven [1], where Google was partnering with the DoD but "withdrew in 2018 after internal protests". Though they've since partnered with the DoD on other initiatives [2].

[1] https://en.wikipedia.org/wiki/Project_Maven

[2] https://www.reuters.com/business/autos-transportation/us-dep...

That is probably the most notable example and in the end, those few still lost.