Dion Leonard and Gobi the dog became inseparable during a gruelling desert race in China.