Sure, playing chess needs intelligence, dedication, and good chess players are smarter than an average person. But it’s waaaay exaggerated in movies. I’m a math researcher, and in any movie, my department will be full of chess geniuses. But in reality, only about 10% of them even play chess.
Being skilled at a game has little bearing on your intelligence beyond maybe “above average”. Intelligence is often best reflected in learning speed.