Erosion wreaks havoc on our beaches. Governments spend millions of dollars restoring them. But it's an endless cycle.