AI code by itself cannot be protected. However the stitching together of AI output and curation of outputs creates a copyright claim.