Here's an interesting one in DaVinci Resolve, the M2 Ultra actually beats the RTX 4090 in render tests:
My guess - judging from the test description - is this test is leaning heavily on video decode. Apple Silicon does have faster decode/encode performance than a 4090.
Encode/decode tests are almost always favorable to Apple Silicon across the board. Which is a specific use case Apple has very legitimately optimized for.
Nvidia has also opted not to compete there in favor of generalized GPU performance. So it's a trade off.