It may be that people need to believe nonsense about the cosmos in order to "maximize productivity" but I do not think that is the case.
1. The universe doesn't care about you
2. Life has no inherent meaning
Do you mean to conflate these two? Do you find them merely agreeable, or do these propositions depend on each other?
I think its very reasonable to believe that the universe does not have any of those properties and that life is random and has no inherent or universal meaning.
I guess there could be some kind of subjective meaning but I don't really see the utility of that idea.
I don't think Tegmark <IV had any simple parameters for goodness or meaning, and neither does logic or mathematics. We assemble our meanings out of more fundamental relationships but I actually think they concretely exist in a real way as real as the matter in this universe, but more in the way that galaxies and other complex structures exist. Meaning is a property of complex self-reflective systems and so inherent meaning will probably always be tied inexorably to context and environment, or in our case meaning is tied specifically to our human nature.
E.g. I will find it fascinating if universes do evolve from progenitor universes and therefore the guiding selection pressure is "make more black holes/universes" but that isn't the same thing as the human concept of "good" since our nature isn't aligned with entire (families of) universes.
It is a coincidence that delights me and I happen to feel quite a lot bonhomie for my fellow human beings and lifeforms, but I don't see how it makes life meaningful in any universal sense.
I will say that I see no compelling reason to believe that the values of fundamental constants are NOT just random.
Kurt Vonnegut said it best: “We are here on Earth to fart around, and don't let anybody tell you any different.”
As far as I can tell very, very few people, scientists or otherwise, feel the way I do about the meaninglessness of the universe. As you might imagine, I know a lot of scientists and I don't think any of them are even soft core nihilists, so your characterization of the reaction of people to some kind of mush of science and philosophy and spirituality seems wrong to me. From my point of view, everyone loves that kind of bullshit. They can't get enough.