Advanced Micro Devices Inc., the second-largest maker of artificial intelligence processors, warned that its return to the crucial China market remains a work in progress, overshadowing a generally upbeat forecast for its AI business.