The Queensland Premier Annastacia Palaszczuk has apologised for shutting schools amid concern about "very dangerous" conditions.