A superconductor made by a metal heterostructure at the atomic limit tuned at the shape resonance: MgB2