An Economic Solution to Copyright Challenges of Generative AI