Luxury SUVs tend to depreciate pretty quickly, because their utility is often as a social signal.
Trucks don't depreciate nearly as fast, because a 10-year-old truck still does a decent job at hauling drywall or pushing a snowplow. Now, much of the premium price commanded by a luxury trim level will be lost, but expensive features like diesel engines tend to be reflected in the resale price throughout the truck's life.
What's quite nice is the profit margin on a $81k truck, which typically costs considerably less to build than a $81k luxury sedan. The OEMs who get to mark up a pickup from $30k to $80k by adding some fancy interior trim are laughing their way to the bank (which is pretty much their only source of humor nowadays, considering the brutal difficulty of making money in any other segment of the auto market).
Yes, rare earths are used in certain types of electronics (displays and LEDs, for example), but this is not causing the current semiconductor shortage - it's fab capacity. Here is ON Semi's comment on the matter:
The parts used in automotive are almost exclusively built overseas on 200mm lines. There hasn't been any CapEx in this technology for 15-20 years; AFAIK, NXP never even replaced the capacity lost from the Sendai Freescale plant in the 2011 tsunami. And now that's caught up to everyone in a big way.