Mark Zuckerberg and Warren Buffett both love eating McDonald’s. Their ties to the fast-food titan go back decades.