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