Even with an understanding of ethics, undergrads, new grads, professionals and startup founders _usually_ pick the "unethical" option.
- Facebook knows this (in 2019) and thus offers more money to offset it. Several of my grad school friends from MIT/Stanford/Berkeley chose to work at Facebook because "they gave $300K-$400K total yearly compensation."
- US-based start-ups routinely sell products, give up equity control, or sell directly to the Chinese government or investors. Many times precluding them from selling to US customers/government. My startup recently closed a $20M computer vision deal with a Chinese customer related to person re-identification. Unethical? Probably to someone, yes.
The reason for all of this? Because "everyone has a price." If you believe your ethics can't be compromised, well then you haven't been offered enough money.
So... helping the Chinese government surveil and repress its ethnic minorities?
On occasion, I've asked multiple professors why they don't criticize particular dotcoms or industry practices, or warn undergrads about the nasty cultures of particular companies, and they've said they need the funding from those dotcoms.
Personally, I'd love it if undergrads learned a sense of professional ethics and objective understanding of current industry before they applied for internships, and, consequently, anyone who went to one of the worst (but best-paying) ones for a summer would have greatly increased difficulty getting dates when they returned.