When someone buys a competitor it is called a takeover.
Takeovers are where a company makes a successful bid to acquire a competitor.
Takeovers are done through the merger and acquisition process where the company making the bid is the acquirer and the company it wishes to take control of is called the target.