An innovative new drug being trialled to tackle certain cancers could also benefit patients with advanced prostate cancer whose treatment has stopped working, according to scientists.