At the moment, AI isn't good enough yet. Juniors can't tell the difference between bad coding practices or unmaintainable code. If the output is completely broken, they probably also have a hard time fixing it.

Seniors don't have these issues, so it will only make them more effective at their job.