Valentin Vacherot produced one of the greatest shocks in tennis after beating Novak Djokovic 6-3, 6-4 in the semi-final of the Shanghai Masters.