Swiss biotech company Actelion said on Thursday it had agreed to be purchased by Johnson & Johnson in a $30 billion deal.