There is no dictum that consumerism is the only way an economy can work. Consumerism is (not exclusively) a manifestation of mass affluent democracies, but I can imagine other systems. The economy ultimately is a mixture of social norms and economic laws. There's enough leeway that I don't think you need mass consumerism.
The devil is in the details, however, and the big question is: who will inherit the earth? Increasingly it's a question of motivation and not survival.
That really does not describe hunter-gatherer or feudal economies. And it's not even true for capitalist economies: for instance, there were periodic gluts of cotton (1820s, 1860s), or in the textile products made from cotton (1850s, during a global economic crisis). Famine has different causes, independent of the economy: either deliberately caused by forced displacement (ex: Irish famine), or a result of local weather patterns (for any geographic region, there will be a weather event, like drought or late/early frost, that will cause harvest failure roughly every 15 years). Improved shipping, which in a positive feedback loop was the cause of and response to increased trade, is largely what is responsible for eliminating famine. You first of all need to be able to ship grain to a region that is experiencing famine (agricultural over-production in a different region does nothing to prevent people from starving to death otherwise), and the region experiencing the famine has to have something to trade for the grain (people have, and continue to, starve to death in places that experience agricultural surpluses).
I'd say this has been happening for one or two decades already.
This automation will be no different than the early proto-hominid hunter put out of his job because someone made a spear. Or the scribes that died out because of the printing press.
Everything that can be automated will eventually be automated.
There will always be work that machines cant do.
The point of life is to keep entropy forces at bay for long enough to raise the next generation. As living beings, the core point of humans is to gather enough food and build a good enough shelter to survive through the next winter.
Society will succumb to nihilism, depression and lack of meaning long before those 'infinite' amount of work will ever be tapped.
Seems like a short sighted race to extinction.
Not everything that can be done should be done.
Footnote:in the long run if society survives the initial shock, I predict it will actually lead to a resurgence in artisanal crafts to manufacture bespoke items that are prized not because they are perfect or the best, but because they are unique and have a back story.