But it is being exposed to harsh cleaning agents all the time. The wear might be different, but let’s not pretend they’re sitting there in the middle of a kitchen unused.
Your claim was also, explicitly:
> but if you scratched your dishwasher and subjected it to water and salt I bet it would.
That is literally what happens every day. All the time.
Dishwashers work by spraying high pressure jets of water filled with abrasives. Water which is usually also full of organic compounds of many varieties.