Elon Musk's Tesla and SpaceX oppose Trump immigration order

People attend the Tesla and Space X booth at TechFair LA, a technology job fair, in Los Angeles, California, U.S., January 26, 2017. REUTERS/Lucy Nicholson

(Reuters) - Elon Musk’s Tesla Inc and SpaceX on Monday joined a legal brief filed by businesses opposed to President Donald Trump’s order restricting immigration from seven Muslim-majority countries, according to a court filing.

Musk agreed to become part of Trump’s business advisory council in December, and has advocated discussing issues directly with the president. Uber chief executive Travis Kalanick quit the council last week amid mounting pressure over Trump’s immigration policies.

(This story corrects to Muslim-majority ‘countries’ instead of ‘companies’ in first paragraph.)

Reporting by Dan Levine; Editing by Chris Reese