Nanoscale to single-atom material design for thermal and electrocatalysis