Usually though it’s not enforceable aside from threats of blacklisting you from being able to order new vehicles. In practice I’m not sure how true that actually is if you have deep pockets.
The only interesting thing about Tesla doing this is that not only could they blacklist you, but they could blacklist the vehicle too to prevent it from getting service or even software updates, discouraging any buyers from buying it. Maybe ban it from superchargers. Tesla is very petty. Perhaps this will become common practice as cars get more connected to central services.