German officials had previously threatened internet companies like Facebook with prosecution under strict libel and slander laws if they did not curb "hate speech" and other fake news on their platforms.