A prime example is deep learning. The people getting all the credit are the AI researchers. Now I am not trying to discredit them. But a huge part of what made the recent training of large models possible are all the other advances. All the dedicated PyTorch/C++/CUDA/MPI code that is written just to be able to scale on a HPC cluster, for example. Those people are handsomely rewarded, but they aren't getting the Chief AI scientist recognition, despite it probably being just as hard if not harder to write all the optimized code to enable and facilitate LLMs in the first place.
Before I got into deep learning I was into numerics. Numerics people get typical SWE salaries, but they aren't getting FANNG level salaries, even though their code is powering the simulations across whole industries that ultimately enable many of them to operate at all.
Now I am sure somebody will debate me on the "getting screwed" part, but it sure feels as if, the ones who use a technical library and build an application on top of it, get the recognition both for their own work and also get part of the recognition that should due-fully be bestowed on the author of the library.
But maybe this is how the entirety of society works, but one should still be conscious of this phenomenon. If we all stand on the shoulders of giants, then maybe we should also name the giants in the acknowledgements section.