David Beckham seems to have had the perfect life. But one moment of madness on the football pitch nearly cost him everything.