McDonald's is a company that buys real estate. The real estate is rented to people using the McDonald's franchise name and systems.
The business is simple. It doesn't sell the best burgers. The food isn't always hot. Sometimes they give you the wrong order.
And yet $100 invested in 1982 would be ~$30,000 today.
Sometimes the simple route is the best route.