An extended warranty is an insurance policy, that's all it is. And like all of the "extend your warranty for X dollars" products out there, extended warranties are VERY profitable for those who offer them.
My guess-o-meter says that anybody who insures mid-2018 Model 3s without charging 10k for the policy will get shafted pretty badly.