Ships are the only way to transport and deploy certain weapons across theaters; as such, there is no simple way to replace them. Your argument could be made in the era of Soviet anti-ship cruise missiles (and that argument was made), yet navies have continued to develop and deploy warships.
Yes, but in an age of guided missiles, surely better to have 3x10k ton warship than 1x30k ton warship.