Facebook, which had been at loggerheads with the Australian government over its media law, has announced a plan to invest at least $1 billion over the next three years to support the news industry.