By offering them gold or units, you gain favour with them, becoming friends and perhaps allies with them. You can interact with them, but only in limited ways. City-states may be partners to that particular pathfinding inconvenience, but they are overall a positive addition to the franchise, if not a dramatic one.