Legalization has transformed a once-taboo drug into a mainstream commodity, and the tech world stands to benefit enormously