I think if that caught on then companies would call it undue burden to sift through all the dependencies they use to make such small payments.
It is a difficult problem. But on the face of it your suggestion seems very reasonable.
GitHub has a tool built-in to show all dependencies, it’s not that hard to write a little script to check the LICENSE
files in the repositories. I’m sure one of the biggest companies in the world has the ability to do that.
One of the biggest companies in the world used Copilot to give its users code scraped from GitHub projects without telling them it came from GitHub and that it’s under various licenses that need to be followed.