Facing rising foreign naval activity, Britain turns to autonomous technology and global alliances to protect the vulnerable arteries of the internet.