This has attracted them to aim for the stars.
in a text written by a non-native speaker of English, and I haven't been able to find any support for this construction when I've Googled it.
To me, it sounds very odd; is this – X attracts Y to VERB – a common construction in English? It's supposed to mean something along the lines of 'X entices Y to VERB' or 'X encourages Y to VERB', so in this case:
This has enticed/encouraged them to aim for the stars.