To be precise on the McDonald's thing, it rents the land to the franchises and extracts the franchisee profits that way as no doubt it's tax efficient.
Why they can't revoke the franchise agreement?
“Welcome to Totally A Different Hot Dog Joint! The menu is 99% the same!”
Play by Mc D's rules or no happy meal for you....