Plane lands atop tree, pilot rescued