M.2 wasn't ever really designed for cooling, it was for notebooks and other thin devices. Using NVME with M.2 has made permanent storage stupidly fast, but now we are seeing the very real limits of the form factor. Using a PCIe riser card complete with HSF would likely be the next step, it worked for GPUs and is already used for enterprise class mega NVME devices.