In certain respects, a midi keyboard is the same as a master keyboard. The subtle difference lies in the availability of sound generation.
Master keyboards have no internal sound generation themselves, as they are primarily intended for remote control of other devices (e.g. software instruments). In contrast, the sound generation is integrated in the Midi Keyboard. It is possible to add the missing equipment to the master keyboard.