They don't earn it, to earn something means you have to have done all the work yourself, if you've done 1/2 of the work & someone else other 1/2, other person should earn from it also.
Capitalism doesn't work this way at all. It is one sided, it is centralised decision making and have extremely unfair rewards distribution (and few other negative things).