You could put it in a loop so only processing one file at a time (assuming time to do so is not an issue):
while read file
if grep -q -i -l -H "keyword" "$file"
rm -rf "$file"
done< <(find . -type f)
There is a space between the two <