The AMD EPYC Zen 6 is built on TSMC N2, so it is a similar comparison including clock speed, x86 just hasn't delivered.
Apple has been iterating on a yearly basis, A17, A18, A19 and A20 are all different core design. Some of them just so happens to come with new node. On the other hand Zen 5 to Zen 6 took 24 to 30 months.