At least where I live, solid core slab doors are $40 at Home Depot. You could almost certainly build a desk top from lumber that would be cheaper, but not by a significant margin.
In contrast, the pieces I mentioned above are $16 ($6 ea. for the MDF, $2 ea. for the 2x4s)