An investor has paid $3 million for a corner bank property in downtown Somerville, under a newly announced transaction by Marcus & Millichap.