Collaborative and Federated Black-box Optimization: A Bayesian Optimization Perspective