A private buyer has paid more than $5 million for a 16,250-square-foot office building in Hillsborough, in a newly announced transaction by Marcus & Millichap Capital Corp.