Juan Martin del Potro and Novak Djokovic served up a classic in the final of the 2013 Shanghai Rolex Masters.