I have proximity switches mounted inline - can confirm crunching....

Definitely mount the switches at 90 degrees / not in the path so a crash / run away cannot damage them.

Use physical stops to prevent running off the end of axis.