New York’s Department of Financial Services investigated the July attack on Twitter called for greater cybersecurity oversight for major technology platforms, especially social media companies.