Moore's law is mostly dead these days. Process scaling still happens, but nowhere near at the rate predicted, and there are tradeoffs everywhere now. The Zen 5 core is in fact bigger in terms of die size too.
And while in the past, the doubling of transistors DID double performance, it's no longer true.