Thousands of people are being evacuated downstream of a major dam which has collapsed in Russian-held Ukraine.