Facebook and Google will be forced to pay media companies in Australia for news content they use as the COVID-19 crisis causes a collapse in advertising revenue.