Novak Djokovic cops boos from the crowd in a "shocking ending".