NASA has granted Lockheed Martin a $247.5 million contract to design and construct an airplane for supersonic commercial air travel, the space agency and defense company each announced on Tuesday.