The government can force you to put in a seawall, using, for example, eminent domain. A fellow private citizen and landowner has no legal right to force you to install one. You are also not responsible for any erosion on your property line because you do not have a duty to protect another person's property--you have a duty to not actively do anything to harm their property, but that is different from having to take steps to protect it from natural forces.