US lawyer sorry after ChatGPT creates ‘bogus’ cases