A Survey on Compositional Learning of AI Models: Theoretical and Experimetnal Practices