The year saw a record number of M&A deals and a regulatory effort by the European Union to curb the use of AI.