The two companies will build a research environment that makes small-molecule synthesis faster, cheaper, and less repetitive.