NASA announced Thursday it plans to purchase lunar soil from a commercial company, an effort the agency’s top official said is intended to set a precedent for the transfer of ownership of extraterrestrial material and stimulate a market harvesting resources from bodies throughout the solar system.