In the past tesla sold the same hardware & number of batteries in two car models, but saved 10k in price for the shorter range one; and you could upgrade to the longer range by paying more. Just like for CPUs. In the new mid-range m 3 they have fewer batteries than the long range. Tesla eventually stopped selling the software upgradeable one, maybe because they bugged people.