A draft European Union law called the Digital Fairness Act would require tech platforms to let adult users turn off addictive features. The proposed measures would also restrict artificial intelligence chatbots that simulate personal relationships.