The Golden State Warriors have agreed to terms to buy 12 acres of land in San Francisco's Mission Bay neighborhood to build a new arena.