New Navy submarines are hosting an array of breakthrough technologies designed to carve a path to future war