The silicon chip and the derivative modern technologies have made naval surface combatants obsolete death traps.
They will hang around for a while. There is a possibility they may serve as laser platforms and drone command and support...