There's a very funny classic science fiction story by Philip Jose Farmer called `Riders of the Purple Wage' in which most people have been replaced by automation and are on the dole. -John