Meta is prohibiting political advertisers from using the company’s new, artificial intelligence tools that help brands generate text, backgrounds and other marketing content, in what the company says is a decision to limit the technology’s potential risks.