Ford and GM tried to enlist the President in their fight against the popular Right-to-Repair law. But their effort backfired.