I’m on the fence about this.
A gamemaster is not there to guide or direct the players’ acting, so in that sense GM and (movie) directors are very different.
But otherwise, framing the action, choosing how NPCs are introduced, choosing how locations and people are described to set an ambiance...