Facebook has agreed to pay Australians $50 million to settle a lawsuit after users' personal details were leaked to Cambridge Analytica in a notorious breach.