The pattern recognition skills that most IQ tests ask are fairly similar to solving a lot of exam questions. But they're only a part of the skillset that you need to become a great physicist.
If Feynman had prepared for an IQ test I bet he could have made it to 160. The kinds of patterns you see on IQ tests can be trained. But it's not a particularly interesting pursuit. I've personally done a professional IQ test and reached 130 while in university. Because in school you're training similar kind of problems regularly. I'm sure if I did an IQ test now I wouldn't even get close to 130, because I don't do exam questions regularly anymore. I also can't quote any successes similar to Mr. Feynman, so I doubt this is meaningful.
What IQ doesn't measure is curiosity. It doesn't measure how well you connect disparate disciplines. It doesn't measure how ready you are to upset the status quo. And if I read Feynman's book "Surely you're joking Mr. Feynman" correctly (great read btw), it was these things that actually made him think about physics problems from a different perspective.
Richard Feynman was obviously brilliant, based on any measure of real life impact you can imagine. Meanwhile, an IQ test is just something we made up.
The only reasonable approach to this set of data is to conclude that IQ is not as good as we wish at actually measuring intelligence.