I think Apple will do at least two more iterations of the HomePod before deciding whether or not to stay in this market. Hopefully, they have learned that an expensive (relative to the competition ) device that is an excellent speaker, but little else, is not enough. They must greatly improve Siri and add audio out. Further, they should make the Homepod compatible with more input sources including Spotify and other streaming (music and podcasts) services. If they could add routing capabilities (especially mesh) to the HomePod that would be wonderful.
I am expecting one new version to come out in late 2018 or early 2019, with the second in late 2019.