The oil company said it would buy CrownRock for $12 billion just weeks after Exxon Mobil and Chevron announced acquisitions.