The social media giant blocked all media content in a surprise and dramatic escalation of a dispute with the government over paying for content.