Laptops and phone batteries aren't the same exact type, they just one of the cheaper forms of Li-ion. It's not like you just have a single type of these batteries and there are no other parameters that can differ. A li-ion battery uses a specific chemistry, eg Tesla uses NCA, many others use NMC, but even then there are differences in the ratios of the components. Then you have the quality of the substrates and electrolyte used, this basically determines the amount of cycles a cell can endure before degrading too much. This is the key difference why an EV battery is that expensive, it can't use the regular cells that are mass produced for mobile devices. On the positive side, they can easily last for a long time or a large amount of cycles, this is why the warranties on EV batteries are just limited on high mileage and years of use and mobile devices generally don't come with a battery warranty.
Apart from that, most charging circuits in mobile devices aren't exactly tailored to increase endurance, they just charge at the highest possible speed the cell is rated at, regardless of other factors. And you're more easily using the device while the battery is at 100%. Even though modern day devices then simply bypass the battery and run fully on the "charger's" power, this still means the device is running at generally operating temperature(due to the charging circuit delivering the power, which is at a higher voltage) hurting the battery which is vulnerable being at 100% specifically.
Which brings me to the main point why the old Leaf was the bad apple here, a laptop and phone don't have battery temperature management. This means that all those times you let your laptop overheat during an intensive game (not caring that the fan is on 100% the whole time), or held your phone in the sun while on the beach until it almost maxed out on temperature, you were unknowingly damaging the battery and thus causing long term degradation. Simply because the device doesn't complain, and of course the manufacturer doesn't care as they expect you to get replacement in a few years anyway. But that already adds to the list of why comparing mobile device batteries to EV's is not really useful in regard to EV durability in the long run.