Towards Open Federated Learning Platforms: Survey and Vision from Technical and Legal Perspectives