China said it filed a diplomatic complaint with the US and reserved the right to retaliate after the latest American weapons sales to Taiwan, escalating tensions in their dispute over the archipelago.