The tech giant expects to reduce its global headcount by between 4,000 and 6,000 employees by fiscal 2028.