I guess the case that you are making is that police generally provide much worse service than restaurants
A restaurant provides a service in exchange for a payment. A police officer is taught to uphold the law, and interactions with the citizenry isn't like a hotelier interacting with a guest after a flight.
I'm not justifying anything the police do, or excusing anything. The case I'm making is that the metaphor of Yelp and service are just wrong. In the U.S., at least. And certainly in big cities. It's no picnic being on either side of the police-citizen interaction.
I was in Texas recently and saw first hand what it looks like when police enforce 0 traffic laws. It ain't pretty.