The artificial compressibility approximation for MHD equations in unbounded domain