> If my manager asks me to code an app, is he programming or am I?
In the right context, I would say that it possible that the boss is programming you and that you are, ultimately, both programmers. But even if we only want to think of programming in terms of computers, that is not a concern when it comes to a ChatGPT-like thing. It will almost certainly be of a computer.
> By "replace" I mean replace someones job. Similar to how the elevator made elevator operators unemployed.
The job is still there, but with an effectively infinite supply of workers having joined the market, that pushed the price for the work to zero. That left anyone wanting to be paid more out of the market.
In the same vein, if your employer found someone willing to do your work for a lower wage, fired you, and hired them instead, it seems fair to say that you were replaced, but was the profession replaced?
Anyway, fun analysis aside, understood.