If you mean acquiring facts, maybe not. If you mean getting better at a skill such as programming or playing the piano, how could you possibly get better without challenging yourself?
It's rational for most candidates to study interview prep books because that is what the majority of companies want. Not saying I like it, but why would you want to filter out candidates who are just using basic common sense?
Of course it's not strictly necessary to learn the various levels of abstractions in computing. But some people just do it out of curiosity and wanting to know how things work from the ground up. These people typically tend to be smarter and better, but it's true that not everyone needs to do this to have a good career and make lots of money.
An AI being able to create arbitrary computer programs and work productively in an arbitrary codebase sounds basically like an AGI or something approximating it. Not sure if that's what you're implying is a few years away. I do think it's inevitable, but the time horizon still doesn't seem clear to me at all