And then there was the dam (two dams, actually) that didn't fail.
The Crystal Springs Dam, a concrete gravity dam, is located right next to the San Andreas Fault. It was built in 1888 and held up just fine during the 1906 earthquake, despite about 20 feet of offset of the fault.
It's sister dam in the two-reservoir system, an earthen berm dam built in 1868, actually crosses the fault. It was offset 20 feet in 1906 and did not fail. Someone knew what they were doing in the 1860s and 1880s.
https://en.wikipedia.org/wiki/Crystal_Springs_Dam