The NFL fined 49ers edge rusher Nick Bosa for wearing a hat that contained a personal message, the league announced Saturday.