Takeda Pharmaceutical Co.'s ambitions to expand in the lucrative U.S. health care market led the drugmaker to begin a painstaking examination of Shire PLC's assets more than two years prior to striking a $62 billion deal.