There are several conditions that must happen before data loss begins due to cell corruption when the drive is stored (unpowered), with abnormal temperatures being one of them. The primary condition is the drive must have reached its end of life.
Considering how close the NAND / SSD are to CPU in most Laptop and MacBook. I wonder if this could be a problem in the future. Especially recent MacBook which has no cooling Fan.
I haven’t researched too deeply, but keeping it powered on will cause the drive to scrub and correct errors.