Chief executive officers of major tech companies have faced tough questions from US Senators about child exploitation on their platforms.