I googled it and wow! It is basically a crappy question and it depends how and in relation to what the treadmill is spun. I view it as the treadmill magically allows the 747 to be stationary with zero ground speed. Zero ground speed means zero lift and hence the plane will not takeoff. F22 would take off, it has greater than 1 to 1 power to weight ratio. That would be something to see.
EXACTLY what Ive always thought about this question...I think a small prop plane will easily take off.. A 747...not so much. Could definitely see an F22 doing it. Makes sense