The legislation would pause the construction of new facilities until Congress passes regulations on artificial intelligence.