From the adhesion of atomic clusters to the fabrication of nanodevices