Also think of it this way: I priced a new 2020 KTM E-XC down in Sunnyvale, CA, a few months ago. It was going to be $12.5k out the door, with tax, license, fees, ad nauseum! That was without a second $3k battery, which you couldn't even order yet. (I haven't seen any used 2020 ones yet, and even the 2017 bike is pretty damned rare.) It also didn't include any upgrade to the KTM because is has wimpy suspension off of an 85cc bike, small brakes, etc.
Instead of buying the KTM E-XC for my son, I tracked down a 2017 Alta MX up in Oregon for $6k. (I actually sold my son's Sur-Ron for close to $4k, so I really only spent another $2k out of my pocket for the Alta! Win! Win!)
So there you go: You could literally buy an Alta, and then buy a spare Alta, for the price of the KTM! And each bike would actually be superior in almost every way to the KTM, except for that pesky factory support thing. Even if you bricked one of the Altas, you'd have a backup. Then you could either fix the first Alta (with the splendid help of the fine folks here at the AOF), or sell it for parts to those same outstanding peeps, and you'd still make most of your money back. In the meantime, you could have TWO cool electric Alta bikes, and ride with your family or buddies instead of being stuck in your own head with worries of What-If-It-Breaks.
In most cases, they don't break. If they do, we can almost always fix it. Most parts are common with KTM and other brands.
I will leave you with another thought. Riding the Alta is the most fun I've ever had on a dirt bike. Simple. Reliable. Don't worry about shifting, clutch, oil changes, maintenance, or noise. Turn it on and go. Just point and shoot. Enjoy the ride, not the process to get ready to ride. Don't worry about if you are in the right gear, or stalling the bike or feathering the clutch. It's just throttle control and body control. Amazingly liberating.