Apple M2 's Advantages
Larger memory bandwidth (102.4GB/s vs 89.6GB/s)
Higher base frequency (3.5GHz vs 3.3GHz)
Lower TDP (15W vs 30W)
AMD Ryzen 7 PRO 8840HS 's Advantages
Released 1 years and 10 months late
Higher specification of memory (7500 vs 6400)
Newer PCIe version (4 vs 4.0)
More modern manufacturing process (4nm vs 5nm)