The attorneys general of two states accuse SpaceX of violating consumer protection laws and failing to adequately restrict Grok Imagine.