China's embassy in Canberra has criticised Australia's decision to join a diplomatic boycott of the winter Olympics in Beijing.