Big-name and sought out producers (for ex. Rick Rubin, Dr. Dre, etc) often accept points on a project in lieu of a flat fee.
With engineers, it’s probably less likely, but not unheard - an engineer like Eddie Kramer (Jimi Hendrix) or George Martin (Beatles) would be a lot more likely to get points than JoeBob Sixpack in a mid-sized project studio. (Note: I have no idea if George Martin or Eddie Kramer actually did receive a piece of the action, they’re jsut well-known examples and I wouldn’t be surprised in the least if they did)
The most likely non-musician to receive royalties on a project is the lyricist, in a collaborative writing scenario - but that is publishing royalties (paid to the composers of the work) rather than mechanical royalties, paid to the performers.