Los Angeles-based developer KB Home nabbed a 97,000-square-foot office building near Seattle with plans for townhomes.