Industrial workers in the 20th century probably never imagined being replaced by robots, but it’s happened on a large scale.
There's still plenty of industrial workers. The same will be true for programmers as AI proliferates.
These jobs don't go away, they just become more specialized
But I will agree with the general notion that we as programmers are incredible fortunate to be able to work from anywhere, creatively, without physical labor