The company that made the hit mobile-phone game Pokemon Go is getting out of the mobile gaming business.