@muguy mentions the SSD is soldered to the Logic Boards on the USB-C Apple laptops.
You can try contacting a professional data recovery service such as Drive Savers. They provide free estimates and are recommended by Apple. This is a long shot here since the security enclave must be intact due to the SSD being hardware encrypted. Or someone has to repair this Logic Board in order to attempt to access the data, but because Apple doesn't allow the component manufacturer's to sell some components to independent repair shops, these shops usually cannot repair the Apple Logic Boards. These will also most likely be expensive options with no guarantee of success. If the security enclave or SSD is damaged, then there is absolutely no way to recover any data.
You should always have frequent and regular backups of your computer and all external media (including the cloud) which contains important & unique data.