Countries may need choose sides as the U.S. and China seek to eclipse each other on advanced technology.