Bay has been investing in artificial intelligence as it seeks to reinvent itself amid heightened competition in the online ...