So what exactly did these companies gain?
They didn't hire you now, but might be able to hire you in the future because you would maybe apply again (assuming you get passed the "we already didn't hire this person" filter)?
With all the risk, that doesn't seem like much of a payoff to the company, to me.
(Though I am glad you got feedback you considered valuable, and I think it's cool that the companies did that)