How science can help us make AI more trustworthy