The U.S. military launched an air strike in Somalia on Saturday, killing 52 Islamists who had attacked a Somali military base earlier in the day, it said.