If you invent low-height bridges to keep black people out of select neighborhoods (because they tend to take the bus, and busses can't cross the bridge / tunnel), would you just be "someone else would have created something similar eventually??".
As an engineer, you are responsible for your inventions. That's always been true. Ideally, you create things for people who are trustworthy.
If you don't care about ethics, then don't be surprised if those ethics come to bite you in the ass later. Is it "just a low height bridge", or is it a "racist bridge"? As an engineer, its your job to make the thing (or decide to not make the thing).