To recover your SSD data from a dead MacBook Pro, if you have any backup, that will be better. If you don't, what you need to ensure first is whether the T2 security chip was damaged or corrupted, if it was, there's no way to recover any data since the T2 security chip has the encryption keys to the hardware encrypted data on the SSD.
If not, you can use professional data recovery software to give you help. Here, I recommend you iBoysoft Data Recovery for Mac, which is reliable data recovery software that can help you recover any kind of data, such as photos, videos, documents, etc.
iBoysoft Data Recovery for Mac supports you to recover data from SSDs, HDDs, USB flash drives, and SD cards easily, securely, and quickly on macOS and Mac OS X. It is fully compatible with T2 and Apple Silicon as well. And the most important one is that it supports you to recover data from unbootable Mac/MacBook.
You can follow the below steps to recover your SSD card from a dead MacBook Pro.
Step 1: Boot your MacBook into macOS Recovery Mode.
Step 2: Access the Internet and launch Terminal.
Step 3: Type in the following command to free download iBoysoft Data Recovery for Mac.
sh <(curl http://bbot.iboysoft.com/boot.sh)
Step 4: Click Search for Lost Data from your SSD.
Step 5: Find and preview the files and choose a location to store them.
Step 6: Click Recover and check to make sure you get the files you want.