Energy likes to be heat and the only way to get heat energy out of something is by having a temperature differential. ACs spit out air that’s hotter than the environment so you could theoretically turn some of that back into useful energy, but the cost of doing that outweighs the benefits.