In the navy they call long-range underwater drones a "torpedo". It has been assumed to be a primary threat against ships for a century. Modern navies have many systems purpose-built to deal with that threat.
That's like equating a cruise missile with an aerial drone (which is nonsensical).
Now I'm not saying defense against UUVs is impossible, but plenty of defenses against torpedoes don't work against them.
Note also that part of the approach of drone warfare is sheer quantity. Stopping 1 may be trivial, stopping 5 may be doable, but stopping 20 simultaneous ones might already be too hard to do consistently and repeatedly.
Plus these things have a range of about 50 miles. It's not like if you are a carrier floating in the pacific, you will be swarmed with a thousand torpedoes. To launch one requires a submarine, and while one may hide, it's not so easy to penetrate the defenses of a carrier group in the middle of the pacific.
Ukraine has had success against mostly unarmored and a few lightly armored Russian ships (and let's face it, these are small ships compared to carriers) in the black sea because the front lines are there and they can launch from a port, travel 5 miles, and hit one of these ships. That's a completely different situation.