A federal judge ruled Tesla must face a class action alleging it systematically preferred H-1B visa holders over US workers, hiring 1,355 visa holders while laying off 6,000+ domestically.