After years of easy investment, the AI industry is facing a reckoning, shows a new report from Stanford HAI.