I'm also looking for this possibility. So far I haven't found anything. I guess it needs an access point to use Wi-Fi.
FYI, iPhone also needs an access point for Wi-Fi. Two iPhones cannot be directly connected with each other. I think this is the same with Android G1.
I'm just guessing since I don't have a G1 phone. You'd better keep looking.