The takeover ends a pursuit stretching back to January and marks the first major buyout of a midstream company since oil prices crashed. It will create one of the world’s largest energy infrastructure companies, alongside Kinder Morgan Inc. and Enterprise Products Partners (EPD.N). Williams turned that down, but its worth has sunk by a third since then as an energy slump that started in mid-2014 drags on.