Advances and Open Challenges in Federated Learning with Foundation Models