If cognitive automation (artificial intelligence and robotics) takes most of the jobs, then there will be a colossal wave of permanent technological unemployment. Like the Great Depression of the 1930's, but worse. That is The Economic Singularity (which is the title of the book by Calum Chace).
Very important: you do not need AGI for this to occur!