These analysis really miss the point.
An electric drive train requires A LOT LESS MAINTENANCE than a single traditional combustion engine.
Heck there are hybrids on the road with 200k + miles that still don't need a brake change and the single most prevalent maintenance act is the battery packs can be had for less than $500 at times.
That 40k car can last 40 yrs with minimal maintenance.
Yes it costs a lot, I agree...it's expensive. It will come down in price at some point.
You can build your own an electric car for 5-10k+ including all parts and donor vehicle.
So go ahead and s out 15k less for a F-150 that maybe will last a decade before it needs a major overhaul. They use electric motors on the drive trains on heavy machinery like trains for a reason.