Everything done here was perfectly legal. Like some other posters here have mentioned, the larger company can stop doing work with the contractor at any time.
Also it is above the board to tell your company you have another offer elsewhere if you A.) Genuinly are considering the second job and...