The experiment could be performed. Train a model while making extra certain that its training data contains no existing math results whatsoever, then give it nothing but the axioms of ZFC and ask it to prove RH. Otherwise, the statement "an LLM can reproduce all of humanity's math results" is only as interesting as "a library can reproduce all of humanity's math results".
So you'd have to state RH in ZFC. How is that even possible without a shit ton more Math.
Then it's no longer the same model, and not capable of any math.
I think the point is to have the model discover a novel approach to a problem. Kind of like Pythagoras's theorem being proved in different ways.