Moore himself said (mentioned in the link) that the “law” was just supposed to convey that the way to cheaper electronics at the time was to focus on transistors, I don’t think he ever meant it was supposed to be a law of physics that stays true 50 years or 100 years later. In fact he said it would be true for 10 years