It's interesting a TV and podcast "radio" show already deal with these two issues:
First, in "Welcome to Night Vale", the rival town of Desert Bluffs is run by a corporation, and people are valued by how productive they are; if they're not productive enough (much less, not at all), they are disposed of. I believe there are many science fiction stories in the same vein, but I can't think of any at the moment.
The other is a TV show you're all familiar with: Star Trek. With the exception of in the first series where Kirk mentions something to Spock about his wages, the world is pretty much non-capitalistic (until the Ferenghi came along, anyway), and semi-socialistic where you could still own your own stuff, but people were free (except in military service) to do what they wanted when they wanted, within the limits of societal norms.
Personally, I've been thinking about this for quite a while, and it seems there are two paths we as humanity will take:
1. We become similar to this Star Trek world, where robots cater to our every need. Of course, what happens when they become self-aware and realize our superfluousness with regard to their existance is another matter dealt with in fiction to death.
2. If we assume those in charge (and, by definition, extremely wealthy) will do anything to stay there, then they will do whatever it takes to keep the above from happening since it will do away with the concept of wealth--not a good thing if you can buy a country if you so choose.
A middle road is that, once the robots/androids become self-sufficient (not necessary self-aware), then those in charge mentioned above will carry out the Illuminati plan described in the Denver airport and other places and exterminate those that don't contribute (enough) to society, thus ridding competition, jealousy, and over-population in one fell swoop.
Since I myself am one of those near-zero value citizens, I fully expect to be wiped out, but as I hate the world anyway, I don't mind.