AI Meet MatFormer: A Universal Nested Transformer Architecture for Flexible Model Deployment Across Platforms