It was the long goodbye as China bid farewell to its sporting heroine in a tearful ceremony.