There is an infinite amount of programming to be done. There is not an infinite amount of lawyering to be done.
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.
In my humble experience programming frequently leads to lawyering ..
As one grows, so too the other.
Eh, I think the total volume of litigation will increase. AI will let laypeople be stupid faster and lawyers be smart faster.