Hosting the Olympics has become an increasingly expensive venture, with a number of hosts going into debt.