This is why I brought up the atomic bomb as an example - nuclear fission has excellent non-warfare use cases. Creating a "racist bomb" would be a stupid example.
Could they have been used in another manner? Yes. But we all know what the intent was, and any engineer who worked on that project knew damn well what was going on.