Police officers armed with semiautomatic rifles will be deployed for the Australian Open in a move one senior political figure has branded a “sad sign of the times”.