Former Trump ally Steve Bannon has pleaded guilty to fraud after donors who gave money to help build a wall on the US border were duped.