So the amount of money in the black box don't change whatever you REALLY pick. Either the predicator would have guessed you'd pick both and there is 0$ in black box, in that case you have interest to take both boxes and win $1000 which is better than zero.
Or it predicted you would only take the black box, put $1000000 in it and then again you win more by taking the two boxes.