Technology firms should do more to connect people in positive ways and steer away from trends that have tended to exploit human weaknesses, ethicists told a meeting of Silicon Valley leaders on Tuesday.