People talk about this a lot. While I think it could happen for certain subdisciplines (it already takes essentially an entirely PhD's worth of time to learn all the necessary background to be an algebraic geometer, so most algebraic geometry PhD students publish nothing besides their thesis during their PhD studies), it can never happen to mathematics as a whole. If one part of math gets too deep, you can always go somewhere else, where the water is still "shallow."