Is your defense of IBM’s work in Germany in the 1930s also that they were just following the law and were therefore (as you’re implying) politically neutral?
You do not, however, have to participate in another nation's immigration policies. This lack of understanding of jurisdictions may be why you think IBM cooperating with a foreign nation such as Germany is equivalent to IBM, an American firm, obeying American laws, working with American legal frameworks and participating in the American lawmaking process. If you are in a situation, say IBM Germany, where you think it's immoral to participate in that regime, then your only option is to shut down the business entirely and relocate to a jurisdiction you can work with. Then you will be working in that nation's laws. But in no universe do you get to create your own immigration policies. Why this is so hard to understand for some people is truly baffling. It's like they don't grok what a nation is, which might be why they don't understand the role of borders.
You may think something is immoral, but we live in a nation with agreed upon processes for setting laws. You can't opt out of that and create your own private immigration law based on your own opinion.
You are free, however, to lobby and convince others to change the immigration laws. That is doing politics. You are free to even advocate for open borders if you want. It's a legitimate view. Reasonable people hold this view, although the same people understand you can't have a welfare state with porous borders. But it's not a view that most people agree with. Most prefer the generous welfare state and border control. Most people are perfectly fine with removing those who enter illegally back to their home countries.
If you think this is the embodiment of evil, then lobby to have the law changed, but don't try to enforce your own private immigration law. That's not doing "politics", that's throwing a tantrum. Politics involves working with the political system to convince a majority coalition to back your views. Throwing a tantrum is saying "ICE bad!! No business with ICE". Decide whether you want businesses to act like adults or like emotional children.