Since an EV's drive electronics and batteries generate heat that has to be dissipated, does anyone know if any EV uses some of the waste heat to heat the passengers? Or even better, has a heat pump to heat/cool the passengers and electronics?
Yes, most EVs do this. As Mike points out, the heat isn't much, but on my Golf GTE, it's enough to keep the cabin at 20'C if the outside is at 15'C, for instance, and not require any input from the electric heater. On Teslas, the heat produced by the autopilot computer (100W+) is dissipated into the general cooling loop, which can be used for cabin heat if needed.
The e-Golf comes with a heat pump, as do a few other EVs, however it's not that common. Apparently the compressor is about twice as large as a standard AC compressor, so the cost is likely higher (on the e-Golf it is an £800 option from memory.) That said, at full blast, the air con on my car pulls 3.2kW, which makes it somewhere around a 12,000 BTU system. That is about what you'd use for a small room heat pump so maybe there are other factors at play here, such as efficiency or non-flammable refrigerants.
The Golf GTE is actually rather clever in terms of thermal design: there are three coolant loops, one for the engine, one for the EV motor and power electronics, and one for the battery and charger. It can cool the battery using the air conditioning, if you have a lead foot and are enjoying the hybrid sport mode a bit much, whilst scavenging heat from the engine if it is still warm after an extended drive. For that reason, on longer trips, I run the engine, then as I get to my destination, I switch to electric, which means the engine provides the cabin heat as it cools down for about 15 minutes or so.