Bad benchmark, the Mac is doing CPU transcoding, the iPhone is doing GPU transcoding.
And there's also the fact that for many purposes, it simply doesn't matter. Filmmakers often don't want an impeccably compressed, low-bitrate output ready for streaming directly, they want an output with the highest quality they can get, as fast as they can get it and don't really care how high the bitrate is as long as it's reasonable.
In use-cases like that, a faster render/encode is what's valuable and it doesn't really matter which processor is used to produce it.