President Barack Obama on Wednesday apologized to the international president of Doctors Without Borders for a United States airstrike that hit an Afghan hospital.