As long as Musk decides to roll all revenues back into operations, investors get nothing. Musk has a reputation as someone who doesn't really care all that much about his investors, this is a move carefully designed to massage that image. Musk still doesn't care about his investors, but throwing a little cash their way keeps their voices from building to a crescendo.
As for what humanity is getting out of the deal, they already got the Model S and X, it's soon going to get the 3.