One factor I haven't seen mentioned is the impact of the pandemic on the typical business laptop/computer upgrade cycle. These days, when a business buys a laptop for an employee, the expected lifetime for that computer is probably 4-6 years. Prior to the pandemic, these purchases were dispersed in time, in other words the number of purchases was relatively constant and low over time as each year only, say 1/6 of employees (corresponding to a 6-year upgrade cycle) needed new laptops. The pandemic compressed this cycle, since the increased demand for working from home, supporting zoom meetings, and so on drove employees to demand earlier upgrades. Thus, instead of replacing only 6-year old laptops, many businesses replaced or upgraded 4-, 5-, and 6- year old laptops. Thus, the demand sky-rocketed in 2020, 2021, and the first half of 2022, but now all of these employees already have relatively new laptops that will not need to be replaced until late 2024 and beyond. Thus, we should expect to see a year or two of reduced demand, followed by another 2-3 year uptick in demand. This cycle will continue into the future, but with the magnitude of each "wave" gradually diminishing.
Of course, predicting the future is always challenging, so AMD, Intel, Nvidia, and TSMC likely assumed the pandemic-driven market growth from 2020 through 1H2022 would continue. Clearly it hasn't, probably because most of those business upgrades are now complete. Consumer equipment upgrades would normally be on a different cycle, but the pandemic also "synchronized" these, since consumers couldn't spend money on travel or entertainment, so instead spent on computers, TV's and other electronics.