The two largest Western crude producers are focusing their investments closer to home as the world gets more dangerous.