Control cabinet construction for electric motors, high-speed and generators