The fix is divided in two parts, as a prerequisite disable SIP for now:
1. Fix the installer
A. Download pacifist https://www.charlessoft.com/cgi-bin/pacifist_download.cgi?vers=3.6.2&type=zip install it and after mounting the matlab_R2021a_maci64.dmg go inside the icon InstallForMacOSX.app -> Show package contents -> Contents -> MacOS, open InstallForMacOSX with Pacifist;
B. Drag the InstallForMacOSX root folder to your desktop and rename it to InstallForMacOSX;
C. Overwrite the two files libtbb.dylib and libtbbmalloc.dylib inside Desktop -> InstallForMacOSX -> bin -> maci64 with my two patched revisions attached here;
D. Launch InstallForMacOSX.app inside your extracted desktop InstallForMacOSX folder and install whatever component you want;
E. Append .app extension to the folder where you've installed Matlab.
2. Fix the actual installed app
A. Go inside your Applications folder -> MATLAB_R2021a.app -> sys -> os -> maci64 and replace the libiomp5.dylib with my patched revision attached here;
B. Again go inside the Application folder -> MATLAB_R2021a.app -> bin -> maci64 and replace libtbb.dylib, libtbbmalloc.dylib, mkl.dylib, blas.spec and lapack.spec too.
Enjoy!
blas.spec.zip
lapack.spec.zip
libtbb.dylib.zip
libtbbmalloc.dylib.zip
mkl.dylib.zip
libiomp5.dylib.zip