Two senators are introducing legislation to crack down on tech companies that make AI chatbot companions available to minors.