What kind of cockpit are you using, one piece or separate bar and stem? What brand? Did you get order bars through XMC?
You were provided two different top caps and two different transition spacers. One combination allows for full internal routing, the other is for semi-integrated routing.
Your second post: Those are rubber grommets for Di2 cables exiting the frame. Not sure what the third piece is.