It would be abhorrent to let humans change the prices of goods and services based on the color of your skin, age, gender, religion, etc. However, if a computer does it, that’s apparently just fine.
For the other categories, it is usually not explicit, but it definitely happens, especially when haggling is involved.
Student and senior discounts are meant as support/benefits/encouragment, to the poorer and weaker.
The commercial version is about the inverse: skinning every group as much as possible.