Texts and emails show both companies’ CEOs saw this as a winner-take-all contest.