I read a great book a while ago called "The Middleman Economy" which talks about all the ways that middlemen provide value. Sounds like Seamless isn't providing much value (at least at the time of writing), and those take rates are pretty high for repeat orders.
At the same time, as a restaurant, why wouldn't you pay 20% if you were going to be out of business if you didn't (as one of the quotes in the article mentioned).