James Patterson, Margaret Atwood among thousands of writers urging AI companies to honor copyrights