Works containing elements generated by artificial intelligence can be copyrighted, according to new guidance from the U.S.