Ubisoft shares surged on Friday after the French video game publisher announced a deal to spin out some of its best-selling franchises.