Beijing issues warlike warnings after Washington backs Taipei with record weapons deal and legal pledges