The US government isn’t supposed to be allowed to constrain speech, but they do have the power to constrain commerce, and they can ban the sale of AI services and AI-capable hardware if they choose.
Citizens United got pretty close in the Supreme Court's 5–4 decision on January 21, 2010, ruling that corporations and unions cannot be prohibited from making independent political expenditures, citing First Amendment free speech protections.