Specifically mechanical in this context refers to the switch type.
But no not all keyboards are mechanical.
Touch screen keyboards for example, projected keyboards, VR keyboards.
Rubber domed keyboards are the most common cheap keyboard you get with a Dell and while the key stroke is mechanical the feel is not comparable to older style keyboards with a mechanical switch like cherry or alps.