evn,
the M4 Pro has a 256-bit bus width (quad-channel) and LPDDR5X-8533.
The Core Ultra 7 255H / 285H has a 128-bit bus width (dual-channel) and LPDDR5X-8400.
So, while your Yoga Pro 9 Aura spec has 33 % more RAM, it's also twice as slow, but still, the 16 GB extra RAM can be crucial for certain applications, like running LLMs locally, where every GB of RAM is appreciated.
Also, the 8 GB of the 5070 Laptop can be added on top of the RAM when running LLMs, as a LLM can be partially offloaded to the GPU's faster VRAM. So it's really: 48 GB vs 72 GB.
But the display on the MacBook Pro 2024 is 1000 nits (vs 500 of the Yoga Pro 9 Aura), according to en.wikipedia.org/wiki/MacBook_Pro_(Apple_silicon).
That being said, APPLE tax is still a thing.