I would bet that this is different for cars made in the last 3-4 years. More and more stats from the automobile clubs are rolling in that show that electric vehicles last much longer, because they have less moving parts, and that batteries last much longer than expected.
So as of today, I’d certainly buy electric if I was worried about depreciation.