It is racial discrimination, or positive discrimination. Equality would be all restraurant owners not being charged. Anything that benefits one over another is a form of discrimination and you see it all the time in business.
For example where a small company is charged more for a product or service, because they order in smaller amounts, a large customer gets a big discount, because they are ordering in volume (which essentially reduces the administrative costs, because your salesperson has only had to make one sale, not dozens or hundreds for the same volume). That is a “logical” discrimination and is based actual cost reductions. It is unfair and discriminates against the small customer, but reflects reality. Policies, positively or negatively affecting a section of customers/partners, on something “irrelevant” to the transaction, such as race, creed, age, sex etc. is discrimination.
But, again, you see it all the time, discounts for children, students and OAPs. As a business, I think you are free to make such decisions, although many types of discrimination would be hard to justify. This is a good PR gesture from Uber Eats, based on the problems they’ve had with their Bro’ culture. As this would be seen as “positive” discrimination, they would probably get a slide on it, but as with @PHolder IANAL.
Edit: You also see this sometimes in some “social” businesses, they charge “normal” customers more and use that to subsidise the cost for the underprivileged. This is social discrimination, but it makes the privileged feel good, because they are helping others.