Tim Cook expressed concern about the abuse of user data and call for a federal privacy law