Tech leaders debate perils and possibilities of artificial intelligence at closed-door Senate session.