Typically you don't get compensated for secondary or higher order value generated by your work. Every software startup today is only possible because of the massive amount of collective effort to build the computing hardware that it runs on and the work to construct the actual physical network of the internet. But that doesn't mean that you have to pay all those people for that work just because your company ends up making billions. Or you could say that actually the company does pay those people indirectly through all the economic activity and tax revenue generated. AI is the same. No special rules are needed.