Black-hole-powered jets forge fuel for star formation