I mean it does help with heat and electrical noise isolation, plus if a manufacturer cared to they could probably add more heat fins on an external brick not constrained by the case.
And wasn’t the M1 supposed to be so efficient minimal cooling and power were required?