What does the small fan do that is visible on Boeing 787 Dreamliners on landing?
If you are speaking of the small fan behind the gear in the photo below (click to magnify)


Image from here.

you are speaking of a Ram Air Turbine, usually used in an emergency, not in normal operations.