It will be like creating a "surveillance state", says top court In a U-turn, centre withdraws plan to create social media hub Some have alleged it could become tool to monitor online activities