Novak Djokovic battles through a five-set thriller with Dominic Thiem to claim his eighth Australian Open title.