they don't need to be. Any scientist is already surrounded by tools that are better than they are at anything. A scientist from 200 years ago would have the same existential shock if they see how a modern scientists works.
But that's to misunderstand what science is for, which is to expand human knowledge. And a tool by definition can only ever change how you do this, not that you do it because you understanding it is the point. When people say learning to program is now useless, what they really mean is it might not make them any money, or using the AI is faster as an instrument. But if you care about programming itself, about you understanding programming, nothing has changed, it never can. And the smartest AI in the world can always assist you, but only that.