Gold is a rare (on earth) commodity that has retail and commercial uses that people want to buy from jewelry to electronics. That's where gold derives its value (and some speculation as well).
Bitcoin on the otherhand is pure speculation. It isn't rare as people have forked many different variants of it. Bitcoin's value is derived purely by what someone else is willing to pay for it. There is no intrinsic value.