So what happens now? Here in the UK there’s a recount and if the ballots are still tied the result gets determined by lot - tossing a coin, drawing straws, or similar.
No, in Virginia last year they pretended to draw lots, and then just declared that the Republicans won, after changing the rules to get the tie in the first place, instead of the Democratic win.
The point is not that elections cannot end in ties, but rather that by and large the margin of error in ballot-counting is greater than one ballot. Note the unclear ballot here (or any number of elections in Florida),