>Moore's law simply mentions transistor density, not frequency.
Precisely, Moore's law noted that wafer size increased and feature size decreased linearly with cost - while squaring the number of transistors per wafer. It's not clear that this was true in the EUV era, we had to make features smaller for power and to fit into a phone - but I'm not convinced that 3nm is cheaper "per transistor" than the previous generation