As far as I know, its ok to travel on old company's valid VISA and new company's approved petition. However, your VISA will be expiring in less than 3 months. So I would recommend you to get a new H1B stamped on your Passport based on the new approved petition.