US judge rules only humans, not AI, can get patents