Opportunities abound in the AI arms race that’s afoot — but so do pitfalls.