Novak Djokovic sustained a left hamstring tear during his quarterfinal match against Carlos Alcaraz at the Australian Open.