An AI being able to consistently outperform us in recalling the syntax for switch statements, is a world away from "all of our basic needs being taken care of by automation". The former is going to take a few more weeks/months, while the latter is going to take a few more decades/centuries.
In the interim, there will be some winners, and many losers from this innovation. Wealth will concentrate significantly towards the winners, while the losers will be out of work with a valueless skillset, and their basic needs going unmet. While this may be true for most high-skill professions in the coming decades, there's a unique irony for programmers - who will be the losers, having invented and then fueled the engine of their own demise on behalf of the winners.
It's not necessarily a value-judgement based comment. It's just noting the irony, and highlighting that it's a specific genre of irony that economists absolutely salivate over.