Though not directly displaced by AI technology, many employees are losing jobs as companies are restructuring to manage higher spending