China have named David Beckham as the country's first global football ambassador in a bid to revive the game's image.