CNBC's Jim Cramer on Thursday told investors that President Donald Trump's remarks, however highly-publicized, will not always yield solid investments.