My M1 Air absolutely DESTROYS my RTX 3090 in h265/422 video editing, which is what my camera (Sony A7S iii) shoots.
My 3090 would shutter and play my 60fps footage at 11fps using 350W while my passively cooled M1 doesn't miss a frame.
it obviously doesn't matter for your workload, ultimately the M1 is faster and that's all that matters for you. just highlighting that this isn't magic, just hardware matched to use case.
But then they don't change that often.
Your probably change your apple laptop more often.
And given that codecs are pretty much the only "high performance" use-case apples target audience has to a high degree putting special hardware in to make it go fast is the right way to go.
But as we all know what Apple is/was shipping and the best you can get in a PC laptop are very different things.