This is zero sum thinking. The foreign companies benefit and the local Polish people benefit. Wealth is created in the process and everyone benefits. What if those companies never came and never employed Polish people? Would Poland be any better off?
if spotify employs an american and they become more experienced over their tenure were american resources extracted? human capital tends to get better with experience, particularly when dealing with high quality foreign management.