A Survey on Memory-Efficient Large-Scale Model Training in AI for Science