The pacers (some of the best runners in the world at multiple distances) also rotated every 5K, their transitions were pretty seamless so they definitely practiced a lot.
Kipchoge looked like he barely broke a sweat when he finished, truly mind boggling the pace that he ran at.