Did it say what kind of hard drive it was? SSD NVMe or mechanical . The NVMe SSD for Apple are a proprietary connection in the Mac book pro 2016 / 2017 and would take special tools to perform data recovery on.
https://www.datalabrecovery.com/data-recovery-services/hard-drive-recovery/nvme-recovery/