I've done all the recommended things to fix the issue. None have worked. This includes resetting SMC; resetting NVRAM; reinstalling iOS 10.15.5; erasing the drive and reinstalling 10.15.5 yet again; as well as disabling Power Nap, and playing with the energy saver settings. It doesn't matter what you do to your MacBook Pro 16, it's going to crash when you have a USB hub connected to, and you shut the lid. Initially, it seemed a lot of us thought it had something to do with an external display, but that is not the case. You can have your USB hub connected to the computer, with nothing going into it, and the computer will still crash after you shut the lid and it goes to sleep.
After reaching out to Apple several times, I was finally transferred to a senior manager. She told me they are definitely aware of the problem, and that hopefully one of the next couple iOS updates will correct it. It is assumed by everyone to be a software issue. I had been considering getting a replacement, but, considering it's a software issue, there is no way they can guarantee that a new one won't have the same problems.
So, until they fix it in a later iOS update, we have to employ workarounds--even though they could be annoying. This means making sure you disconnect your USB hubs before shutting the lid to the laptop. It means unplugging the charging cable before letting the computer sleep. The woman I spoke to even suggested manually shutting the computer down each night. It's pretty stupid that we have to deal with nonsense after spending all that money on a new computer. But it doesn't look like there's anything you can do about it for now. It's a bummer.