Goldsmiths neither use the gold as an ornament, nor as a tool to make production. They process on it to produce different shapes of gold and sell them. Giving gold to the workshops for these reasons cannot be regarded as “renting”. It is regarded as “lending”, like giving a credit. Lending gold in return for a benefit is a transaction of interest and not permitted.
Please see the answer below for the difference between renting and interest: