For starters the difference between $2k and $3k isn't 50% that would be $4K and they aren't that much more expensive. The higher spec components are a much bigger price difference than the frame.Carbon's very risky in resale, because it can be hiding damage that's not visible to the naked eye.
Carbon products tend to cost 50% more than their aluminum alternative (e.g. $2k alloy frame, $3k carbon frame).
Carbon tends to only be strong in one direction, and relatively susceptible to impact damage.
Designing frames to do well in those lab tests is akin to teaching kids to just pass tests in school. The real world effectiveness is quite questionable. Some might be doing just fine out there, but the people who pick these half-baked things up might end up frustrated that they're being burdened with the prototype nature of these experiments or whatever.
I'd rather stick to the mainstream-enthusiast level, rather than throw money at some "heirloom" quality thing that promises that its quality is so good that it will last through multiple builds or whatever. Stuff gets outdated in the ebike world faster than the rest of the mtb industry, and the mtb industry sure does a good job of making people want to refresh their bike every 2-4 years.
For instance the Nukeproof Mega frame is 38% more in the carbon frame version.
Also bike manufacturers do real world testing as well as lab testing and carbon frame mountain bikes have been mainstream for over a decade. Santa Cruz make some of the best mountain bikes in the world so to say they are half baked is pretty ignorant of what goes into the design and testing of a new bike.