Australia’s sharemarket finished virtually flat as investors returned to technology stocks, despite a challenging geopolitical backdrop.