Because electric cars don't actually use 100% of the battery.
If the battery is only charged to say 80%, and only discharged to say 30%, instead of doing full charges and discharges, it'll last longer. EV manufacturers know this trick and stop charging at something like 80%, while telling the user it's fully charged.
The BIOS in modern Dell laptops (e.g. XPS 15), at least, allows you to configure different modes of operation to make the battery last longer. You can choose to charge more slowly but have the lifetime of the cells extended, or charge quickly which will yield less cycles. I'm guessing other manufacturers allow some control over these things as well.
I toast mine every 6mo-3 years if I actually use it on battery often (i do). Most laptop owners just want a compact desktop, and use theirs as one. Obviously batteries last longer than the tech is viable in that case. Smart usage used to make a larger difference, but the new batt tech seems less sensitive to heavy useage.