A study has identified trees and plants that are resilient to climate change and support orangutans.