US takes precautions as Beijing targets American spy planes, warships