Randomized Algorithms for Mega-AI Models