The AI memory boom may last longer than past cycles, but history warns investors not to mistake it for a permanent supercycle.