except for all the programmers, who will increasingly represent the middle class economic bracket as a whole. Those robot AI algorithms aren't going to write themselves you know (well, certainly not yet).
True, but for every small team of programmers writing the code for some new groundbreaking AI, there will be hundreds of people put out of a job by the resulting creation. We can't just tell all these new people to take up programming as a solution. Widespread job losses are inevitable as technology progresses.
What that means for governments isn't clear - universal basic income for all citizens? Massive welfare state or watching as many, many people fall in to poverty? What it means for bitcoin is absolutely anyone's guess.