Yes, the tweet was illegal but why would Tesla care? They successfully defeated the unionization effort. Years later the union board has ruled what they did was illegal but there is no punishment for the company and they don’t have to re-run the union vote.