'We were astonished': Millions of exoplanets could be born near active supermassive black holes