Indonesian officials investigating forest fires on Sumatra island were taken hostage and threatened with death by a mob allegedly linked to a palm oil company, the environment ministry said.