Boko Haram gunmen on horseback killed dozens of people in a village in northeast Nigeria's Borno state near the border with Cameroon, AFP reports.