Which rare earth are you talking about, and in which quantity?
Further, in terms of energy density: solar, wind, coal, natural gas all pack far less joules per gram than petroleum.
These are inconvenient truths that unfortunately conflict with the slick marketing messages of your luxury golf cart salesman.