Earlier quoted context omitted.
$1M was the amount they spent on the lander. If I recall correctly, they got a ride to the moon for free. Delivering that amount of mass to the moon is worth O($10M). It seems incentives were not properly aligned for this group. I should also point out that you can fly a scientific mission on a 1U cubesat for ~$100k all in (including launch cost), which puts it in a very different regime.
The first moon landing cost $300 billion+ in today's dollars.
This launch, which had a few other payloads, too, reportedly cost NASA $62 million.