I disagree.
Managers don't build the technology. Engineers do.
And EVERYONE in the org is responsible - so everyone may be in a state of mental disbelief or denial.
After recognizing the negative ethical implications of either the work itself / the manner you're being asked to work in, or the technology you're being asked to build, and then - still being professional - after communicating your objections and seeing a failure by management to sufficiently acknowledge the complaints, the next step I'd recommend is to quit. You can get another job - even if it's a "work visa" scenario, get a recruiter and another job.
The company can be free to go on and do it's unethical thing on its own.