EV depreciation is non linear. You lose a lot of the value in the first year because new EVs get better in ways that ICE cars long stopped improving. They get better ranges, faster charging, better battery longevity, more efficiency, etc. For some older models, you can get nice discounts on them new because of this or there are attractive incentives that somewhat moderate the impact of this effect.
After the first year, they tend to depreciate at a slower pace than ICE cars for the simple reason that there's not much that can go wrong with them and they are covered under rather long warranties. Most second hand EVs out there produced after 2017 are still under their original drive train warranty (typically eight years or 100K miles, whichever comes first). 2017 was when the Model 3 entered the market. Most popular second hand EV models are much newer than that. Unless they've driven more than 100K miles, they'd typically still have all the expensive bits under warranty.
Whether it makes sense to buy them new depends on what you are buying and where and why. Most private owners would be well advised to look for newish second hand models that are maybe 1-3 years old. The US is in a bit of a market bubble; EVs are very expensive there. And it's not seeing the same price competition. Elsewhere, EU, Asia, Australia, etc. you have a lot of low cost models undercutting their ICE equivalents for ridiculously low prices. Think 15K for low end models. Less in China. And even those will depreciate. But even those cars still see rapid improvements year on year.