Britain's Andy Murray battled long and hard to make it to the ATP World Tour Finals but he may wish he hadn't following one of the most humiliating defeats of his career.