One day late last month, two big companies announced takeovers that had something in common: Neither Comcast Corp. nor AbbVie Inc. used a banker.

Comcast and AbbVie, both giants in corporate America, aren’t alone. More companies are deciding to do without bankers when they make acquisitions.

In 2015, the buyers in public-company deals valued...