The US food and drinks industry has won concessions on proposals to restrict advertising to children.