Here's another thing to try. Go to https://www.amd.com/en/support and download AMD Ryzen Master by selecting your CPU. After downloading and installing, select the "Game Mode" profile at the bottom. Make sure "Additional Control" is on to your left and turn OFF Simultaneous Multithreading (SMT) and Legacy Compatibility Mode should be locked to ON.
I have only tested this in No Man's Sky, which is another game where I suffered these random crashes, but it really seems to have done the trick.
For me this left me with only 3 cores (I have a Ryzen 5 1600), which sucks, but the game was stable. I also tried making a custom profile with both SMT and Legacy Compatibility turned OFF and also 2 Cores turned off. This also seems to work.
Seeing as the number of cores might be involved, I also selected only 4 cores for the game to use by setting the CPU Affinity. I have no idea if this actually helped or not, but it might be worth testing as well.
https://www.windowscentral.com/assign-specific-processor-cores-apps-windows-10
Before this I also noticed that rebooting the PC and not launching any other apps, other than the game, would let me play hours if I was lucky.