This is why consulting (in particular) and entry-level finance jobs are in trouble, so are entry legal jobs.
Programmers will not fare much better as AI will absolutely write better code than 99% of the programmers in very near future.
You can be very talented and smart, but there is no way you can outsmart an AI agent who has mastered and digested entire code base of GitHub and improves itself 24x7.