Hey, dude. How does someone earn value once automation does all the work? Earning the right to a share of the resources when resources are derived from automated labor is such a thoroughly pathological concept that I'm not sure we're communicating on the same planet.
Same way everyone has earned value from the beginning of time: negotiate with others. We are all born naked and without possessions. Everything we get, from the first day of our birth, is given to us by someone else. Our very first negotiations are simple, we are in turns endearing and annoying. As we grow older they become more complex. All I’m saying is that these interactions should be maximally voluntary and nonviolent.