You are disregarding the fact that there is a competition to get the Olympics, where perfectly normal democracies also participate each time. There have certainly been offers from competitors to arrange Olympics on tighter budgets too.
The question is why those locations don't win? I'm sure it's due to corruption within the Olympic organization, but who am I to judge. I just stop watching the crap.