Effect of self-gravitation or finite ion mass on the stability of anisotropic plasma