Panelists at a tech-sponsored conference held here this week defended the industry against allegations that its products are harming children and warned of government overreach, as social media regulations in states and countries increase in response to mental health concerns.