Black brane solutions and their solitonic extremal limit in Einstein-scalar gravity