Not 100% sure on this but have the teams signed a new Concorde agreement or an equivalent? If they have then aren't McLaren obliged to compete in F1 until the current agreement ends?
But if McLaren actually get banned from races, i.e. told not to turn up, then Lewis still gets punished.
No current Concorde Agreement - running under an letter of understanding at the moment I believe. Although some teams have signed the new Concorde Agreement *Notably Williams and Ferrari - both have got money because of it*
If they get punished and decide not to turn up, then yes - it sucks for Hamilton too.