A board advisor's exit has two multibillion-dollar AI coding rivals—Factory and Cognition—trading accusations.