Earlier quoted context omitted.
To further support your point, AI is 90% efficient/good at driving. But the last 10% is so hard that some think it's impossible to have 100% self-driving cars.
Self-checkout at supermarkets does 90% of the work. The 10% of work remaining is done by a human supervising the self-checkout stations. And same will happen to development. Lots of tasks will be automated and less people will be needed as a result.
As a side note, we were told decades ago that visual programming would similarly displace developers; however, I'm doing perfectly fine