GM should have been broken up.
Broken up or sold.
Either way the union would have been disempowered and the resulting company would have been leaner and meaner.
Anyone buying the company would be a fool to take the company with any obligation to take the UAW as part of the deal.