A Taiwanese court sentenced the Chinese captain of a Togo-registered ship to three years in jail after finding him guilty of damaging undersea cables off Taiwan.