US official rules out chance of ‘cyber war’ with China