The lawsuit filed Thursday argues President Donald Trump violated the constitution by creating a new federal department and granting billionaire Elon Musk broad powers.