REF: maybe_apply_* in core.apply
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

Followup to #41067. cc @jbrockmendel 
sorry for the slow feedback; LGTM