Gates Foundation to shut early, spending $200bn in next two decades