Wood beam
My father used something similar in the shop to pull motors for years. But it was laid across the rafters so the actual load was spread across 4 rafters and the main support was only 24" of spread. He never had a problem. I tore it out and never used it. You could see the rafters sag as you applied the load to pull the motor. My eyecrometer was really uncomfortable with that sagging. You already have an issue in your head because youre asking the question. I think you have two roads here. One road includes the line "hold my beer".