Transfer Windows 10 boot disk to another computer
If the old machine is truly dead, and will not boot at all, then the only course would be to remove the hard drive from the old machine. Unfortunately installing the old drive in the new machine as a boot drive will not work. Windows will not be activated for that machine, and since they are different hardware platforms, most likely will not boot at all. Some individual programs will also detect the change and won't run, as they are licensed for the old machine (OEM software usually is only licensed for the machine it came with, and cannot be installed on a different machine).
If it were my machine, I would install the old drive in a USB carrier and copy all the files over to the new machine. You will of course still need to reinstall everything.
If you can get the old machine to boot one time, you can use the file and transfer settings program. It works quite well, however it does not install the programs, it just copies their settings, so you are still going to have to reinstall your software.