The same hardware. Miners get both a reward for mining (the fixed set of coins) as well as collecting fees. After they’re all mined, it’ll just be the fees.
Your confusion is why I hate the term "mining". Call it "transaction notary service" and things make more sense. Currently the people with hardware get paid by a combination of transaction fees and inflation of the bitcoin supply. Once all blocks are "mined" they get paid for being notaries only with the fees.
Every time a block is mined, miners are paid in transaction fees + newly generated coins. After 21 million coins have been generated, miners will only be rewarded transaction fees => it doesn't mean blocks will stop being mined; blocks will keep being mined, but without generating new coins out of nowhere.
It’s offered by those wishing to include their transaction in the next block. Miners look at all the pending transactions and select the most lucrative ones.
Every block has a limited amount of space for transactions (1 MB previously, 4 and up to 8 technically with segregated witness?) , the person mining the block includes transactions based on fees provided by users initiating the transaction.
If there are tons of people looking to make transactions, fees go up or down based on people's willingness to pay to be included in the next block.
In practice Segwit only increases the blocksize to 1.4 MB for normal transactions and theoretically to 4 MB, but then blocks are filled with special kinds of transactions people don't really use.
It also doesn't really increase the blocksize, but move some data outside of the blocksize calculation to make room for more transactions. The important difference is that Segwit is opt-in and depend on usage for it's effect, while a blocksize increase would immediately increase transaction throughput to its full capacity.
Other people have answered the question quite well, but I just want to point out the Bitcoin FAQ [1], which is pretty well written. It is good to read the entire faq to get an understanding of not just bitcoin, but blockchain in general.
In addition to the other answers, there are some cryptocurrencies where the block reward never goes to zero. Look up how it works in Monero for example.
There are also cryptocurrencies where the block reward is fixed forever, so that miners at launch are rewarded no more than miners decades later.
Note that such a linear emission is still disinflationary in the sense that the yearly inflation rate tends toward zero.
It's kinda wrong in the sense that the fees still exist, but it's right in the sense that the "block reward" is terminology used to refer to the fraction of miner revenue in each block which increases the total supply. That part does indeed stop after 21m according to the current codebase.
Nothing changes except for the missing block reward. At the moment mining a block on BTC will net you about $100K (block reward + fees). If BTC wants to keep the same (relative) security as it has now while having no block reward, the transaction fees have to cover the $100K. With the current 7tps (at most) limit that will have to amount to about $24 per transaction when the blocks are 100% full all the time. If people aren't willing to pay that transaction fee or use an alternative (cheaper) cryptocurrency, the security of the BTC chain will plummet.
> (...) the security of the BTC chain will plummet.
Nitpick here, but what will happen is that the cost of mining blocks will outweigh the revenue of selling its fees. This means that miners will at some point decide to stop mining bitcoin. If this happens abruptly, that would cripple the network for a while, since the difficulty adjustment function would not be able to adjust the difficulty in time. If the move is not sudden, but a progression over months/years/decades, that wouldn't cripple bitcoin.
If miners stop mining bitcoin, that doesn't immediately make bitcoin less secure. The hardware might be used to mine other chains, or could just be binned. If a single entity wanted to perform a 51% attack, she/he would need to buy up a lot of discarded hardware without notice.
A reduction of global hash power isn't a security issue per se; it is a multi-variable problem.