J.M. Keynes was basically just spitballing when he said that, in an article called "Economic Possibilities for Our Grandchildren". Basically a non-academic article to make some long-term predictions based on trends of the time. Also this was 1929 and some notable events happened not long after.