Thermal waste recovery and heat energy transportation over long distance