The role of jets in the formation of planets, stars, and galaxies