The rapid development of artificial intelligence has raised concerns about job losses in many industries.