How? In my country for example there is a surge of US companies setting shop here just to hire local devs, and a lot more hiring remote, when their products have presence only in the US. Each year the number keep increasing.
India, Eastern Europe and other places have English speaking devs. Good ones may not be dirt cheap but they may perhaps be cheaper in the eyes of management in the face of unionized devs...
Clarify, please. Shipping the jobs will kill the company, or the union contract preventing it will?