This compares a desktop Ryzen with macbook Intel and macbook/mac-mini M1. Thermal design of the laptops likely plays a large role in the benchmark results.
I would also point out though some interesting places where the 3900x clearly wins. Looking at Naive Bayes for example, it's a nearly 10 fold difference in speed. I wonder what specific x86 optimizations help there, likely SIMD?
Alternatively, problems with OpenJDK on ARM64. Given the limited target market for it (basically just Graviton2, which is also pretty new), I can't imagine that huge amounts of work has been put into it so far.
It also compares right out of the oven M1 with generation old Ryzen and 2 generations old Intel.