Both companies are restructuring their India workforces as the tech sector reallocates budgets toward newer areas