An artificial intelligence program trained to act as a lawyer is set to make its courtroom debut, arguing in two speed ticket cases in February 2023.