how will the law and plagiarism affect AI tools for art or text

how will the law and plagiarism affect AI tools for art or text