(they will just have high prices, and lower them until less wealthy can buy)
Even if you aren't earning more money the algorithm will constantly be testing you by jacking up prices to see what you'll endure under which circumstances. Screaming kids in the car with you? You'll probably put up with an extra 38.33 cents for those happy meals. Looking tired? A recent death in your family? Do your resent social media posts indicate that under more stress? Enjoy higher and higher prices to stress-eat your comfort foods peasant.
I don't see any of the backlash Wendy's got for this kind of bullshit either.
There are also already restaurants that have different prices when you use their app which helps condition you to accept that prices will differ from person to person or even day to day.
You're right that people don't care for discriminatory pricing though. People's objection to the practice is the only thing that's been keeping it from being more widely used already (https://link.springer.com/article/10.1057/s41272-019-00224-3)
They stand to make money hand over fist from it though so we're going to see company after company testing it, pushing the boundaries of what we'll accept and normalizing the practice. Without regulations making discriminatory pricing illegal in certain settings, it's basically inevitable that we'll see it more often.
https://kioskindustry.org/mcdonalds-kiosk-counterless/
Not sure how much of a trend this is though.