In my humble experience programming frequently leads to lawyering ..
As one grows, so too the other.
Both statements are false, but even if they were true, if AI can do your job, and costs 1% of you, and works 100x faster, there's no reason to pay you.
I'm of the augmentation not automation camp. With AI you can very suddenly find you've 100x'd yourself up shit's creek legally.