Merck & Company Inc. is hiring synthetic biology firm Ginkgo Bioworks Holdings Inc. to engineer a crucial component of some of its medicines.