Forecast-beating reports from Apple, Google, Microsoft and Samsung have reawakened interest in the artificial intelligence sector.