Switzerland’s largest bank by assets attracted new customer money in the quarter, while a rival was weakened.