That’s in fact why some universities patent their research stuff in the first place, to ensure nobody else can. They’ll then make it a policy to take 0€ in licensing fees, but this precludes anybody else from starting to lock the tech behind money.
Source: My uni back in the days had a few dozen patents for exactly this reason, too.