Suprised they don't do regen breaking for CNC machines, seems like a giant waste. They already super expensive so you might as well go green.
You can only dump power in the grid when the grid voltage is low enough, like some solar owners are realizing right now.
For a CNC, you want the brake to be reliable, not to depend on the grid voltage. So even if you could dump into the grid, you would still need the resistor for reliability.