The pizza purchase was not the first transaction to assign monetary value to BTC, by the time that happened (2010) it was already well established that BTC had monetary value.
People were already buying/selling for nonzero dollar values in 2009; lacking a true exchange with order book, the bid/ask was usually based (rightly or wrongly, you decide) around the marginal cost of generating new coins via mining.
2009 pricing history:
http://newlibertystandard.wetpaint.com/page/2009+Exchange+RateThank you!
Unfortunately I couldn't find participants of the earliest transactions with bitkoin yet. (bitcoin for dollars, bitcoin for goods and services).
But it is tiny nuance.
Why the first miners decided to spend electricity and to get bitcoin? There has to be a reason why they decided that these expenditure are justified... that is a question