A license fee for the use of copyrighted data can compensate creators and help AI companies avoid lengthy legal fights.