World No 1 Novak Djokovic helped Serbia to a 2-1 victory over Italy at the Hopman Cup - through he had a bizarre injury scare along the way.