If bitcoin mining still works after the latest halving, how much can someone invest in the mining of the bitcoin and how much bitcoin is it likely to generate before the mining plan expires?
I advise you to use Google search in this context to learn about Bitcoin mining as it shows you do not know about the mining itself. Summarily, Bitcoin mining will always happen until the last Bitcoin is mined, but the discouragement is that we've had some halvings which have reduced miner earnings to the point that the new miners earn little or nothing depending on your resources and the plan.
But in case anyone is asking you to invest in the Bitcoin mining business, investigate very well, it's a possible scam. I've witnessed some, be warned!
In all honesty, the rewards will be reduced and reduced more as time goes on, at some point the fees would be bigger than the rewards themselves.