The agreement, which comes as memory chipmakers have been straining to keep up with demand, would enable supply to keep pace with Nvidia's plans.