Bill Gates will invest more than $1 billion in public schools — but he’ll have to learn from Mark Zuckerberg’s mistake