During a US Senate hearing, lawmakers and analysts warned of threats to Taiwan's undersea cables, urging it to boost its defenses.