A tiny medical device containing gold specks could boost the effects of cancer medication and reduce its harm, research suggests.