Computers [1] themselves are perhaps the best example. Digital computers were so completely effective at obsoleting human computers that I think most don't even realize this used to be a profession, though it's quite obvious if you think about it. When even just relatively basic calculations would have taken so much time, nobody would have ever been able to get anything done if they were having to constantly do all the 'computing' themselves.
I suspect programming will be similarly forgotten in the future when any program can be concocted trivially and efficiently by description alone.
Well, we'll still have folks hobby-coding, because some of us enjoy doing that.
Much like potters used to be a profession that was needed in every community, and now they're "ceramic artists"