Geometry‐Induced Mechanical Properties of Carbon Nanotube Foams