Source of Image: Guyton and Hall- Textbook of Medical Physiology
Below is the structure of a Na+/K+ ATPase, i.e., the sodium/potassium pump shown on the left in your figure:
(image from here)
Compare to the structure of a potassium leak channel (the type of channel depicted on the right in your question):
It's clear they are quite different beasts, without much similarity at all besides both being membrane proteins with several transmembrane domains, which is a characteristic they share with countless other proteins with an incredibly wide range of functions.
The only similarity the pictures from your textbook are meant to convey is that they are both membrane-bound proteins and that they accommodate Na+ and K+; besides that, they are completely different. The figure clearly shows a different mechanism of transport, and the remaining similarity is just from the very abstract way that they are represented.