After a year that brought panic over spy balloons, a fight over semiconductors and an intensifying military rivalry, China and the