I use mechanical switches when I’m making a panel or something on a device that I don’t want to break after getting pressed a bunch. Membrane switches just break a lot, and for industrial applications (ie gloves, metallic dust, operating by touch) capacitive panels can be unreliable.
The tactile response is what’s useful, so for people using the panel with gloves, say I want a directional control for navigating a menu I can just throw down some arrow keys and have a lot of options for keycaps if I don’t need it sealed. I try to make things relatively easy to repair so using parts which are commonly available is a plus.