Trends in AI ethics before and after ChatGPT