In the last several years, NASA/JPL have had agreements with private researchers at universities, etc. to get almost "proprietary" rights to the raw data. They get their shot at making their discoveries before the data goes out to the world. I guess they don't want anyone finding "faces" and "pyramids" on Mars that their specialists overlooked.
Right. The primary researchers have a contract giving them proprietary rights for a year anyway. I suspect that if they find something of commercial value they will hang onto that discovery until they can arrange funding to produce that value. In a sense they have property rights to the resources, which is strictly illegal under the 1967 UN Outer Space Treaty, but so long as the final intent is the benefit of all mankind they can get away with it.