Targeting a generation that grew up playing “SimCity,” Fidelity Labs on Wednesday unveiled StockCity, a software program that lets investors view a portfolio like a virtual world on their computer screen or in 3-D using an Oculus Rift headset. Users can build and view a city in which each building represents a stock. The width and length of the base represent shares outstanding and trading volume. The height goes up and down with the market price.