In order to remove an item from a Pokemon without breaking/losing it, you will have to pay 1,000 Poke Dollars to the NPC Mr. Moon or Mrs. Moon.
Mrs. Moon can be found in Kanto in Celadon City. She is located to the west of the Game Corner.
Mr. Moon can be found in Johto in Goldenrod City. He is located west of the Radio Tower.