Apple’s Tim Cook says tech regulation ‘inevitable’ because free market isn’t working