Exxon Mobil said Wednesday it would buy US shale rival Pioneer Natural Resources for $59.5 billion in an all-stock deal, or $253 per share, a statement showed Wednesday.