Wildfires in Indonesia have destroyed part of the natural habitat of hundreds of orangutans, risking the survival of the species.