People on Fraser Island have been told to leave after the fire burned large parts of the World Heritage-listed area.