I'm thinking of buying a late 2016/early 2017 Model X with ~50K miles but I'm slightly nervous about future repair costs.
There seem to be quite a few stories online about the early vehicles which had front and rear door sensor/motors failures but most of them seem to have been repaired under...