Artificial intelligence companies will have to abide by new "mandatory" safeguards when operating in Australia, Prime Minister Anthony Albanese said Tuesday.