A tropical storm has forced an iconic California beach to close down as widespread flooding has threatened millions of residents in Orange County.