That's mixing up different concerns. If they make an unauthorized site for a restaurant, with no agreements, then the restaurant is getting full menu price.
While the unauthorized sites potentially deliver poor customer service and (the appearance of) higher prices, potentially driving away customers? Who do you know that comparison shops all the different ways to order from the same restaurant?
Price shouldn't be the only thing the restaurants care about.