Elon Musk tells the G20 Summit that AI could add 20 to 30 trillion dollars a year to the global economy and soon outclass humans at writing software.