If the consumers are unemployed, where will they get the cash to buy the products? If they're not buying, from where do the producers find the consumers?
EDIT:
Fiction ahead:
Companies automate to sell to consumers. Consumers are put out of jobs, become unemployed, and no longer purchase as much as they used to. Companies that invested capital to build their automation infrastructure for too little return will go broke. The only automation that is profitable to build is automation the serves other owners of automation. The world's economy will separate into two, one small population, the owners of automation who trade amongst each other, and the automation-less, formerly unemployed labor.
The automation economy will require huge inputs of commodities, metal, wood, silicon, and everything, to fuel their own never-ending desires, for ego-building rocket projects, moon colonies, etc.
The automation-less labor will take up service jobs to serve each other, as people are wont to do. People in this economy will live with similar technology as today. But in the future they will be considered impoverished and backwards. Same kind of society, except having to compete with the automation economy for commodities. In fact, commodities like gold and silver, and perhaps even more common ones like copper and iron, will be so valuable, and with society constantly near unrest due to wealth inequality, they may be nationalised by government. Labor will be hired to strip the earth of commodities, to be shipped off the automation trillionaires. The income will be distributed as welfare payments to automation-less labor, to purchase services and goods from each other as well as a share of the commodities the automation-less economy are selling, and bits and pieces of technology from automation economy. In effect, land with resources become the last piece of real capital these people own.
In the automation economy, people are mostly self-sufficient.
In the automation-less economy, people are more dependent than ever on others.
It will be a continuation of the present human civilisation's trend - Where originally all humans were more or less equal as hunter gatherers, in the twenty first century, humans were separated into developed, developing and undeveloped economies, where there are entire countries full of the one percent richest.
In the end, the automation and automation-less economy becomes the final culmination of this trend. There are several thousand people who control the vast majority of the world's capital, and the rest unwashed masses, backwards and impoverished - the undeveloped, automation-less economy.