Tech giants freeze hiring in cloud and sales divisions as AI costs surge, reshaping jobs while fueling massive investment in innovation.