Should their work be valued the same?
Imagine someone makes a popular show. They are hired by another company in hopes of a repeat, but it flops. The company doesn't get to hold back the money because it wasn't "replayed constantly for years" or a more measurable contribution to their companies worth, unless that was written in the contract that the performer would assume the risk. But usually companies accept the risk, which is why the risk holder, such as a CEO or lenders, make more money (or lose it all if the risk fruitioned ill)
In markets like freelancing, authorship, etc; where the risk is assumed by the creator specifically, their performace can directly influence their pay. Most people would prefer a steady, risk-free paycheck though, which is why your contribution is most likely less influential to your pay, except in the case of when you go out of your way to get a new contract via promotion or job hunting.
Why do residuals exist? I am paid to do X. I did X. My code is no more special than the shingles put on my roof. I hope the roofers don’t return for residuals again.
What I prefer is the “get the same relative raises as the CEO” that the auto union is going for.
But I’m also not a gambler. I want to know exactly what my compensation is for the hours of my life I’m giving away.