Grand Theft Auto V. Its development and marketing budget ran to sums that no other game had approached at the time of release.
Worth separating two ideas here: the most expensive game to make and the most expensive game to buy are very different questions, and the answer to the second changes depending on whether you mean a new release or a rare collector's item.