The German claimed a 6-2, 7-6 victory, extending his unbeaten record against Shelton to seven matches.
Zverev, who has won two Grand Slam titles this year, advances to the semi-finals with one group match remaining.
He will next face France's Arthur Fils, who kept his own semi-final hopes alive with a comeback victory over Spain's Rafael Jodar.
Fils recovered from losing the opening set to win 4-6, 6-2, 6-2.