Setting aside the obvious PR opportunism, how would something like this actually work? Does Uber currently collect data on the race of the people who own restaurants they deliver from? Is data like this publicly available somehow? Is this data something they're going to start collecting to facilitate this feature? Does that sound like data it would be good for Uber to have? Knowing what we know about Uber this all se…
I wonder how this will work from a legal point of view. This is a blatant, obvious example of racism, they aren't even attempting to be subtle about it.
In the final analysis, the law is interpreted by humans, and if a class of violation (like racism) is popular enough, the system finds a way to excuse it with hand-waving.