Artificial intelligence funding in first half surpasses 2018 record