China sent warplanes and warships to Taiwan’s shores in a stark warning for the leadership of the self-ruled island.