There is a false assumption here that there is nothing fundamentally new to discover - that there will be no paradigm shift like, for example, with quantum physics. That false assumption is manifested in the more specific assumption that the hole we fill is finite and that any answer we get covers some significant portion thereof.
That was indeed the notion back than with just a few small problems waiting to be solved: black body radiation and some mathematical issues with emergence of magnetic monopoles in Maxwell's electrodynamics.
The same thing happened in chemistry, where it was believed that almost everything was already researched except the goopy (not the word they used for sure) stuff -> all of organic chemistry. And even in the inorganic chemistry there are still amazing things happening.