A famed Silicon Valley gaming company is laying off hundreds of employees and shuttering prominent video game studio BioWare.