A brutal week for chip stocks ended with the PHLX Semiconductor Index in a bear market, down more than 20% from its June peak. Two of the AI (artificial intelligence) trade's flagship names went down with it. Advanced Micro Devices (NASDAQ: AMD) now trades about 15% below its high, while…