Philips nearly collapsed in a lightbulb price war before pivoting to audio technology that democratised portable music worldwide.