The public have been told to stay away from the beaches after huge tides destroyed part of the Pacifica Pier in California.