Mac Mini 2010-2018 Power Supply AC-In Metal Retainer Clip
Looks like they're still using it in the M1/M2 models too. Very easy part to misplace!
eBay