So you'd rather have US technology sector look like Detroit. Union jobs ensure that the union bosses live well and the workers still get screwed as the jobs move overseas anyways. Only difference is the risk of taking the entire company down to foreign competition instead of individual roles within the company because the company gets locked-in to whatever staffing model existed when times were good.
If your job can be done cheaper elsewhere, it will be. It's only a matter of time, and protectionism and unions will only delay the inevitable and harm the particular company or industry overall. The key to having a successful career in a specific locale is to continuously prove increased value as the company and markets naturally change, or to have a job that requires physical presence.
Even surgeons are going to start facing pressure as remote-controlled robotic operations are becoming a reality. The expensive ones with subpar work will cry when they no longer can afford the lease on their BMWs, and the ones that are at the top of their fields will be in even more demand than they are today, but will be operating in more than just the one city where they have their current practice.