AI has reshaped the work of junior engineers — something that could have pros and cons. Here's how they can still get ahead.