Four new laws will tackle the threat of child sexual abuse images generated by artificial intelligence (AI), the government has announced.