If it makes MIT feel better, I don't think "ethics" when I think of MIT. I think technological leadership and excellence, but definitely not ethics. For starters, they have plenty of collaborations with the military (e.g., MIT Lincoln Labs; not saying that can't be ethical... but it usually means someone's going to die). Nothing to be ashamed of. Somebody's gotta do it...
What's unethical about collaborating with the military? We don't exist in a vacuum. American military hegemony has been an extremely powerful stabilizing force, post-WWII. This idea that it is unethical to build weapons is profoundly wrong, short sighted, and morally selfish. Not to overly pick on your comment, since you did say that it can be ethical, of course. But i've seen this sentiment that military work is une…
For the American empire. Less so for the rest of the world.