Since I just did the math:
Spending was up to $13 billion in 2013. Based on that, securing all the coast lines of the world to that level will cost over $10 trillion.
And I'm pretty sure by 2050 we will have spend a lot more on updating & maintaining the delta works.