More than 180,000 people have been forced to leave their homes in the US state of California after warnings that part of the tallest dam in the country could collapse.