Taiwan says its navy can help the coast guard to protect the country's undersea communication cables in the wake of an incident with a Chinese-linked ship.