Ryan Avent ponders a near future where automation and globalisation combine to generate a world with a surfeit of labour and too little work. What are the implications for society if most of us have no valuable contribution to make to the economy? A dystopian future beckons.