There may be some in electric motors, but 1) hydrogen vehicles need those motors too and 2) it is not required (some EV have zero rare-earth mineral already).
Tesla does not source cobalt from the Congo.