Foundation models from a data-distributional view