Australian banks have led the share market in recent weeks, with UBS noting this outperformance is driven by a rotation of investments away from AI-related stocks.