Legal challenge over decision that AI machines cannot be granted patents