Because usually what the companies are willing to pay is much too low for the actual effort involved.
Often times, people try to win the prize, knowing they'll on average make a loss, but doing it out of fun. See e.g. Google Lunar X Prize.
They are showing in practice that they are willing to pay huge amounts of money for "outsourced" R&D; sure, a prototype stage is worth less than an implmenetd product, but $1m or more seems to be a reasonable and affordable ballpark for such offers from the "buyer" perspective.
The remaining question is if ~$1m is an appropriate amount for the inventor, given the effort required - but that seems very subjective and depends on each individual inventor and their location; in many countries you could fund a whole research laboratory of a good university for $1m.