I mean laptops overtook desktops in general long ago and I think COV19 + the continued rise of cloud computing became an extinction level event with a long tail with effects still being felt for desktops on the corp side at least.
I’m a software engineer and I dont need the absolute beefiest machine possible at my desk because my truly heavy lifting is either done on on premise systems in our dc or on aws anyway, and a laptop means I can work anywhere and dock to bigger screens/keyboards/etc as needed. Now to be fair I worked like that long before COV19, but that pattern has just become more common, and even easier to implement for folks that dont *have* heavy lifting.
Laptops are powerful enough now for most work, and it’s easier and cheaper for most folks to have a portable/stowable work machine
There’s still plenty of market for desktops, but it’s getting smaller and to some extent more boutique