End users are capturing the value. But of course that's the point of open source; you're voluntarily avoiding the proprietary software strategies that let you capture more value from your users. I don't think it has much to do with shareholders or executives.
Software doesn't create value by itself, people using software creates value. With open source software anyone is free to use software to create value for themselves.
Of course Pikettys r>g still applies insomuch it applies to anything, but that is not really related to software anymore.
Not sure I have an answer but that shareholders and executives get the vast majority of the gains points to an extremely broken system.