Some California tech companies encourage employees to bring dogs to work, claiming it boosts productivity and relieves stress.