If a tie happens on the first attempt to grapple a character, nothing happens. If a tie happens while a character is attempting to break a grapple, the break fails and the character is still grappled. This is according to the rules in the Player’s Handbook on page 174, “If the contest results in a tie, the situation remains the same as it was before the contest. Thus, one contestant might win the contest by default.”