A devastating fire in Sandakan has displaced thousands and exposed the vulnerabilities of densely populated water villages.