AI and its offshoot, machine learning, will be a foundational tool for creating social good as well as business success.