Microsoft founder Bill Gates gave an optimistic speech Tuesday on the rise of new technologies and how they will impact human society in years to come.