Moore’s law was never a law. It was just an observation he made. Somehow it has been spun in to “law” over the years.
Ah but as a law, it has held true! Most scientific laws do not hold up. Of course, this is and was a non fact but it really has held up and continues to hold promise with nanotechnology.