Recent events suggest funding is getting harder to come by for some artificial intelligence (AI) companies.