The problem with this is entropy. Heat dissipated to the environment is highly entropic (more disorganized, less useful heat/energy), and to effectively extract it, you’d need to reduce the entropy, which requires more energy that you would get from the heat you recovered.
Someone has never used any function more complex than =sum() in excel…