Binding to a protein or a protein-containing complex to assist the protein folding process, driven by ATP hydrolysis.