Musk said he plans to appeal the verdict.