A Japanese electricity firm is to build an 18-metre-high barrier to protect a nuclear plant from tsunamis, the company said on Wednesday.