Elon Musk said Wednesday that mRNA technology could fundamentally change how diseases are treated, a shift that would make medicine more of a software problem than a biological one, as Moderna Inc. (NASDAQ:MRNA) and Merck & Co Inc. (NYSE:MRK) posted a major cancer-vaccine trial win.