It is local resources extracted, not foreign spent.
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.
Those foreign companies still have to pay Polish taxes,and Polish wages. All that money gets spent into the local economy.
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?