Lobbying pressure from internet companies and civil liberties groups - and the resistance of one US senator - forced the Senate Intelligence Committee to withdraw legislation requiring social media companies to report "terrorist activity" to the government.