Social media company X Corp. on Thursday sued to block enforcement of a new California law that requires online platforms to remove or label campaign-related deepfakes before and after an election.