CNC milling machine spindle inverter