You can go to the Bacardi factory almost free if you don't book through the ship. Just get into Old San Juan and get to the water taxi, take it across and catch a cab to the factory. Cost about $5 round trip last time I was there. Factory tour is free, with free samples.
There is another rum factory called Don Q's right beside the water taxi terminal. It's also free with free drinks.