Some areas of Wales at risk of coastal erosion could be "sleepwalking into oblivion" due to climate change.