Thermodynamically, heat is waste energy. EVs are so efficient that scavenging isn’t practical anymore; I’m not sure the temperature gets high enough to usefully extract the heat energy for heating. ICE cars obviously produce mostly heat so getting a radiator hot enough to heat the cabin is very easy
In most EVs motors are watercooled, so that energy can indeed be scavenged – problem is, during low-speed driving, the heat output is not high enough to get noticeably above ambient temperature.