So why was Keynes wrong? Because he failed to recognise that full employment combined with high levels personal debt is critical to maintaining societal stability and the capitalist model as a whole. Someone with a large mortgage to pay is highly unlikely to become revolutionary.
The more automated the economy becomes, the more people are shifted from productive roles to meaningless roles. The profits go to the capitalists while the workers are just happy to have a job.