bitcoin will split into two chains, one that will have segwit activated, the other one will now. So there you go, there will be a version with segwit live on August 1. You just have to make sure that your exchange, or your wallet supports segwit before the transition and your coins will be bitcoin with segwit. Make sure you are on the right side when this come because one coin will die. Also I suggest you to diversity your investment and buy litecoin, it already has segwit, so if bitcoin activates segwit succesfully you win, and if not litecoin already has segwit you will win there as well.