The ChatGPT maker eyes new monetization paths with cautious ad plans as it gears up for GPT-5 amid rising legal challenges.