No, you don't! All your investments are saved on your account. If you change guilds, they're removed from the old guild and added to the new one instead!