No navy would deploy a battleship today, no matter how good an anti-missile system it had. Only needs to miss one, and battleships just cost way way more than even a thousand missiles. Plus ballistic artillery just isn’t that useful compared to what a drone or cruise missle can do.