How can I attach a shelf to a tile wall in a repairable manner?
Depending upon how large the grout lines are I would carefully drill through those with a masonry bit, and then use plastic anchors and fasten shelf brackets with screws. Use enough brackets to support the size shelf you need. Then, if the shelf ever needs to come down the holes in the grout lines can be repaired easily.