Jannik Sinner, the world No 1 and defending champion, looked to be heading out of the Australian Open until he was rescued by a controversial medical time-out.