Rescue workers have evacuated thousands of people across the Biobío region of southern Chile after flooding brought by torrential rain and hurricane-force winds.