Additionally, for us, as professionals, it is a way to show, although in a very rough fashion, what is possible, and where we can help. We saw this event more as a team building than work.
The result we got at the hackathon is a very rough prototype, not a finished product. In no way, this can directly be implemented on the floor. As such, input from experts is still required, either us, or other experts in the field.
Therefore, these hackathons are useful, in my opinion, not only to the company, but also the participants :)