China threatens to take action over US-Taiwan deal