Rope is useless under compression. You can't push a rope, or climb a rope that's only attached to the floor. So under compressive loads, you're relying on the glue mainly. The carbon fiber gives the glue something to stick to. A submarine is the opposite of an aircraft: the high pressure is on the outside, so the hull is under compression not tension.
It's a terrible choice for a submarine.