> But no salaries -> no consumption -> no profit for companies.
No, you just need a little more imagination. What would the economy look like if you didn't need employees to utilize resources or undertake projects? Some very mass-market consumer oriented companies would eventually go bankrupt during the transition, but that doesn't mean a doom scenario like I describe can't or won't happen.
> I don't see how that's effective capitalism.
And you know what? The end result of the transition might only vaguely resemble current-day capitalism, and may be more properly understood as a transition to a new economic system.
However, I think it would probably be like our current economy, except with:
* the B2C segment withered mainly to luxury goods of elites (yachts, supercars, elite-level fine dining) and sustaining a much smaller elite-service-focused labor pool;
* B2B being most of what's left of the market; and
* non-market vanity projects taking up a substantial slice of the pie (e.g. Elon Musk using a robot army to build ziggurats to celebrate himself, because why not).