For a nice thoughtful imagination of said future, Nancy Kress's Beggars in Spain https://en.wikipedia.org/wiki/Beggars_in_Spain suggests one possible outcome. It has both gene editing to make better humans and unproductive masses. A short yet powerful read.