I'm of the opinion that workers should retain 100% of the value they produce. Not for deontological reasons, but because I hold the belief that the outcomes of paying the "leaf nodes" in an organization maximally results in a healthier economy, a healthier population, and more democratic workplaces.
This is not limited to software engineers. I believe the same is true for any worker, from fast food to manufacturing to engineers.