perhaps I missed it, but have you tried to reset the bios to factory default, then to whatever values needed (ie: UEFI with CSM, etc)?
if that fails, can you pull the m.2 and put it in a different machine - if so, does it pass in a SMART/health check?