Africa could reap the benefits of the fourth industrial revolution, particularly artificial intelligence (AI), but only with the right infrastructure in place.