People on H-1B move companies all the time. The new employer simply has to file for a new H-1B visa that is not cap-exempt and is not subject to any lottery this time around. As soon as the documentation is filed (even before approval), the employee can start working for the new employer.