Prosecutors have launched a probe into a partial train derailment in eastern Taiwan as footage of the accident emerges.