AI does not learn and transform something like a human does.
But they do learn. How human-like that learning may be isn't relevant. A parrot learns to talk differently than a human does too, but African greys can still hold a conversation. Likewise, when an AI learns how to make art by studying what others have made, they may not do it in exactly the same way a human does it, but the products of the process are their own creations just as much as the creations of human artists that parrot other human artists' styles and techniques.
Storing carbon as sodium formate has the same problem as storing it as trees - bacteria will eat it and release CO2. Its also not useful as portable fuel - its energy density is an order of magnitude less than kerosene.
Its potential use as a battery is interesting though. I can imagine a system where a long lasting catalyst is used to fill a tank of sodium formate using waste CO2 from industrial processes and excess electrical generation capacity from renewable sources like wind and solar, and the machines that use sodium formate to generate electricity at times of low wind and solar generation could potentially be less polluting overall compared to mining lithium for new batteries and recycling worn out lithium batteries.