S launched in 2012.
X launched in 2016.
Both launched with slow rollouts.
Meanwhile, the average car in use today is 13 years old and getting older. (I currently drive a 22 year old car)
It definitely turns me off buying a used model S to know it's being discontinued. And if I extrapolate that to the 3/Y, a new purchase.
Given my desire for a midsize family sedan, it makes it feel like BMW i4 or Porsche Taycan just won me over in the future.