UBS Group, facing the threat of competition from non-bank players, has turned to Sqreem Technologies, a Singapore-based technology company, to use artificial intelligence to help deliver personalized advice to the bank’s wealthy clients.