Musk's exact role could be key in the legal fight over DOGE's access to government data as the Trump administration moves to lay off thousands of federal workers.