That battery replacement may not figure into the first few years of ownership and operation which is the period the article covers. But it will invariably figure into the resale value, which does not seem to have been factored into the resale value figure cited in the article.
“But it will invariably figure into the resale value, which does not seem to have been factored into the resale value figure cited in the article. “
You have data to support your post?
The Battery and Drive Unit in your vehicle are covered for a period of: Model S and Model X 8 years (with the exception of the original 60 kWh battery manufactured before 2015, which is covered for a period of 8 years or 125,000 miles, whichever comes first).
https://www.tesla.com/support/vehicle-warranty