European Union lawmakers overwhelmingly approved the E.U. AI Act on Wednesday, which aims to protect consumers from potentially dangerous applications of artificial intelligence. The legislation takes a “risk-based approach,” introducing restrictions based on how dangerous lawmakers predict an AI application…