As major technology firms reallocate billions toward artificial intelligence infrastructure, a massive workforce restructuring is reshaping the global economy.