I did an internship at IBM (~15 years ago) and they said that not only does IBM have the most patents, it tries to have the most patents awarded every year. You could just send half arsed ideas to a team of lawyers and they would write it up into a proper patent.
Getting patents in your name was a big part of moving up the internal engineering ladder.
The all-time leaderboards for each industry and each technology are here: https://goodip.io/iq/top/industries https://goodip.io/iq/top/technologies