I don't understand how their customers were mistreated.
Tesla produced two identical cars that cost exactly the same to manufacture. They offered one at a cheaper price but with a restriction on the battery capacity. They sacrificed their product margin to offer customers a vehicle they wanted or could afford.
They also said "hey if you want the additional capacity you can pay the difference to unlock it."