Well, the Starbucks next door is still there, so one business was able to pass on its costs, the other was not. Also, the McDonald's mainly served the elderly and those on fixed incomes, so clearly their customer base wasn't going to pay the price of a latte for a cheeseburger.
Admittedly, though, it is just an anecdote.