Drug maker Amgen is acquiring a Rockville, Md.-based company developing therapies for cancer, the companies said Thursday.