A proposal in California that would regulate artificial intelligence (AI) chatbots designed for personal interaction has passed the state legislature and awaits approval from Governor Gavin Newsom .