European lawmakers sign off on world's first set of rules for artificial intelligence