China's foreign ministry said that Taiwan is a "red line that must not be crossed" by the U.S., Reuters said, and added that it would take "all necessary measures" to protect its claim.