The batteries in a Tesla aren't magical unicorns. Yes, the BMS is far more sophisticated, which is why the cells are expected to last for 8-20 years instead of the two or three you get from a phone.
BUT, the reason an iPhone shuts off with 20% remaining is sudden voltage drop. This is due to lithium ion cell degradation. In this respect, all lithium ion batteries are the same. The differences are all about preventing that. An iPhone does basically nothing to prevent it.
I'm not sure why you think Tesla's can't start dropping % faster given the same wh/mi consumption. I've seen it with my own eyes on a service loaner on a road trip.
Also, here's Bjorn with a Model X "acting like an iPhone" and stopping completely despite indicating 8 miles remaining on the display. Totally dead, suddenly. It had to be flat-bedded to a supercharger.
A Tesla is not similar to a smartphone, it does not get down to 20% and have the BMS see a sudden drop in voltage and declare itself dead. Tesla has a very sophisticated BMS and very accurate estimate of remaining charge whether the driver chooses to display in % or "miles". You can drive it down to zero percent or miles. The Tesla doesn't suddenly start dropping faster as you approach zero because it miscalculated.