Is sponsoring the Olympics worth it?

Sponsorship has received some of the most negative press of London 2012, with brands appearing greedy and controlling. How has it come to this?