There's plenty left for humans. Nobody is going to read a Lean proof. Someone still needs to understand what the AI has done, extract new knowledge from it, organize new ideas and techniques into conceptual frameworks, and teach all of these things to other humans. AI will help with all of these of course, but human taste and intuition still play a huge role.
What's left to publish though? I can't picture what would be in a math journal after this.
Exactly right. There seems to be a big misunderstanding going around that the only important part of a proof is the result itself, and that the problems are now "done". These lean proofs are just a starting point. I think it is a great time to be a human mathematician!