If it's purely about the food, receiving it, consuming it, then sure, get the human out of the loop, interact with a machine. Ideally even the preparation is done by a machine. No human error or hair involved. Why even go there, let it be delivered to your home.
But these places are also about the experience of social connection. The bar keeper, the waiter, the chef. They are all involved in this experience and the actual food is "just" one component, one detail, albeit an important one. My favorite restaurants would be nothing without the people there.
It's similar with music. It's not just about the produced sound waves. The musician forms a social bond with the audience. Even when listening to a recording, my mind is re-living or at least imagining a live sitting, that connection with the musician. No machine generated music will ever be able to replace that.
Other places optimize for this better by not having too many hand-overs between order and preparation.