Advanced Micro Devices Inc. suffered its worst stock decline in more than seven years after the chipmaker’s sales forecast underwhelmed investors, a sign it’s not making the AI inroads that Wall Street anticipated.