From increasing luminosity in colliders to building more powerful spallation sources, collective effects in hadron beams are a major challenge for present accelerator-based projects