It is similar to hiking to some attractions in the alps. The railing may be a single steel cable. Of couse, you could put up a big honking concrete wall to keep people from New Jersey from hurting themselves, but why ? Mountains are made from rocks and you climb up to look down on stuff. Falling off the edge is an assumed risk of going there.
In this case, the risk is not to the casual beach-goer. They may get some sand in their eyes, but unless they use implements like umbrellas to hurt themselves, the beach itself is pretty safe. Its the dimwits who hold on to the airport fence who get blown off and hit the concrete barrier. The place would be safer without the fence or the concrete barrier.