Microsoft co-founder Bill Gates says he would focus on AI if launching a startup today, as the technology attracts billions in investments.