He was called a ‘terrorist sympathizer.’ Now his AI company is valued at $3B