Americans are grappling with artificial intelligence—from its lightning-fast development to the construction of data centers to support it—and are becoming more skeptical of its benefits.