Yep.
But Elon also mentioned UBI.
He said UBI doesn't necessarily cause inflation. Governments and banks leverage money into being all the time. When money is created it can lead to inflation-but does so because this money is not equal to the commodities produced. I don't subscribe to mainstream economics or believe in supply and demand models, however on this point I agree with Musk.
This is why I think the owners of the means of production will be instrumental in demanding that governments step in to ensure that demand exists. One demand could well be UBI.
Capitalism collapses just as soon as human labour is no longer exploited to create surplus value.
I think there is an inevitability that AI and automation used in search of greater surplus value driven by the inner logic of competition pushes capitalism towards a point of collapse.
Marx wrote
'As soon as labour in its immediate form has ceased to be the great source of wealth, labour time ceases and must cease to be its measure, and therefore exchange value [must cease to be the measure] of use value. The surplus labour of the masses has ceased to be the condition for the development of general wealth, just as the non-labour of a few has ceased to be the condition for the development of the general powers of the human mind. As a result, production based upon exchange value collapses' This was written in 1870! So we certainly are not in this mess because of Covid, or labour.
If capitalism is defined as exploitation of labour in pursuit of profit, then AI and automation undermines capital and as you say creates crisis. The ultimate crisis is of course a huge heap of 'use values' that would meet human need sitting alongside the fact that there is no demand. But then Marx also wrote about this....
Basically I think when we try to think about a post work society we are thinking that work is only work when we are employed and paid, and secondly thinking within the paradigm of mainstream economics.
I am not a great fan of UBI, but I think it will become necessary. But I don't think that is the end point. Because once human labour is not exploited for surplus value, then commodities are reduced from having both use and exchange value. At that point you have transitioned to communism. (not state socialism ie Soviet Russia, or China, since that is not communism).