Online giant Yahoo Japan and messaging app Line announce a merger of the two companies and hope to compete with US IT giants .