Like XLR8 says if you maintain the car, are willing to do some servicing yourself and look after it, then it's pretty robust. I drive mine more or less as a daily driver, up to 89k on the clock now and the last 12 months have been completely error free. That said I am on PEM number 4, and had the 3.0 upgrade 18 months ago, that fixed the PEM issue finally; which again as XLR8 states is almost certainly down to the fan connector being under rated for the load. Good tyres, decent headlights (working on that currently) and better brakes - at least change the pads and discs (I run EBCs which are good enough for UK roads and traffic) all improve the drivability.
Yes there will be issues about parts which are more bespoke, but the community is pretty strong and there hasn't been anything (yet) as far I can see that is an issue to replace, subsitute or upgrade. Yes again we are waiting for a better PEM and something will come along, or a new drive train I'm sure as a drop in like replacement. Ditto battery.
Biggest issue is more the bespoke fittings and panels, but again there are fibreglass replacements which cover the majority of panels and netshape manufacturing (3d printing for the layman) is ideal for volume part replacement.
In 10 years who knows, but my gut says we'll be okay. If on the otherhand you're not interested in doing maintenance yourself, and expect Tesla to do it, then I'd suggest it might not be the car for you...