Small cities in danger because of artificial intelligence