Prime Minister Anthony Albanese has buckled after weeks of pressure, calling a royal commission after the Bondi terror attack.