The problem is not that you lose that theoretical job, it's that they have one. Mind you, it's also a problem if they don't have one. In this socio-theoretical framework anything immigrants do or not do is a problem.
Companies, meanwhile, are only at fault for anything if they're foreign and not multinational corporations.