Equinor will slash investment in renewable energy while ramping up oil and gas production.