ai restructuring