Many GB5 (and real world) tasks are memory bandwidth bottlenecked, which greatly favors M1 Max because it has over double a Threadripper's memory bandwidth.
At the same time the Threadrippers also have a gargantuan amount of cache that can be accessed at several hundred gigabytes per second per core. Obviously not as nice as being able to hit DRAM at that speed.
Also, not everything fits into cache.