European lawmakers back law to regulate artificial intelligence platforms like ChatGPT, amid fears the systems could disrupt democratic processes