SoftBank swings to profit on valuation boost from OpenAI bet