I am taking a physics class this semester and the professor puts the problems in picture form to make it pretty tough to feed AI. So there are ways professors try to stop AI. But you are right, people who love physics aren't going to feed questions to AI, they want to learn this stuff. Heck, programmable calculators are allowed and I found myself using paper and pencil. The people who would use AI are the same ones who, in the old days, got the answers from friends who took the test earlier.
Due to technological advancements, the test I took yesterday supposedly had the same question with different numbers for each student. So if calculating acceleration, the time to reach a velocity and the start or final velocity would be different for each person. That would have been tougher to grade back in the day. So it is getting harder to cheat, in some ways.