Now replace "racism" with whatever other adjective is out there (face-tracking software, guns, etc. etc.) and its really the same thing. We engineers must ethically agree with the things we make, and their expected use. Its one thing if maybe our boss uses the device in a way we didn't expect. But on the other hand, Oppenheimer knew damn well what he was making.
The people we support and work for are ethically and morally tied to us engineers. They can only do the things they want with our support. And we are tied with them, since their use of our inventions is actually quite predictable in most situations.