Is your country suffering from a lack of technical talent? Do you want to be a buzzing hub of creativity and innovation?
Here's one simple trick: provide asylum for US citizens that are LGBT+, or have Autism or ADHD. Or, fuck it, just accept any US citizen from any targeted group.
All of the smartest and most talented people I can think of are currently freaking the fuck out and would seriously consider moving to your country if you did that. Just saying.