Jim Cramer, the host of Mad Money, said on Friday that it was a rough session for anyone holding nothing but AI stocks.