Those two business moves look pretty different: a basketball star launching an infrastructure fund and a baseball star buying a baseball team. But they are part and parcel of the same investing trend: the traditional playbook for what athletes do with their money off the court or field has meaningfully changed.

In the not-so-distant past, the go-to move for sports mega-stars after retirement was to go straight into broadcasting. Look no further than this week’s brutal ESPN layoffs: dozens of the on-air analysts cut were former players who had been with ESPN, in some cases, since right after they hung up their cleats.

If you didn’t go into television, you set up for your post-career by making one or more of these types of popular investments: fast-food franchises (Junior Bridgeman, NBA veteran, who owns hundreds of Wendy’s and Chili’s locations; Jerry Richardson, former NFL player, now owner of the Carolina Panthers); car washes (NFL alum Andre Rison; NBA alum Charles Oakley); or car dealerships (NBA alums Jamal Mashburn and Karl Malone; NFL legend John Elway, now GM of the Denver Broncos).

And there was good reason why many of the athletes who took that path found themselves in the red a few short years later. (In the NFL, some reports say, the rate of eventual bankruptcy is 16%.)

But at some point in the past few years, in timing with the formation of a new tech bubble (arguably), the map changed. Athletes, both retired and still playing, are hot for tech, or in some cases, other non-conventional investing areas. Steph Curry, for example, backed the private-coaching platform CoachUp, doubling as investor and celebrity ambassador.

Derek Jeter is a perfect example of the new post-retirement business approach for star athletes. (Getty)

Carmelo Anthony launched a tech investing fund in 2014, Melo7 Tech Partners, with Stuart Goldfarb, a former executive at German media company Bertelsmann and a board member at WWE. Kobe Bryant launched a tech investing fund last year, Bryant Stibel, with Jeff Stibel, vice chairman of consulting firm Dun & Bradstreet.

The new formula is clear: star athlete + experienced financier = hot new fund. The athlete brings the name recognition, the money manager brings the deeper pockets. (And the athlete’s name helps pull in additional investors later on.)

Johnson’s other business efforts are well known at this point, including his prior ownership of more than 100 Starbucks franchises (and he has worked with former Starbucks CEO Howard Schultz to open Starbucks locations in low-income areas), his Magic Johnson Theatres across the country, and his philanthropy for HIV/AIDS research.

In Jeter’s case, the Yankee has reportedly partnered with Jeb Bush and the two have a window of exclusivity to complete their fundraise and buy the Marlins. Jeter plans to be closely involved in the team’s operations, and he will likely be the face of the new ownership, just as Magic Johnson is the face of the Dodgers ownership. (Johnson is now also president of the Lakers.)

Jeter launched The Players’ Tribune, a sports blog that has become the go-to place for athletes to announce big news. He launched a book publishing imprint under Simon & Schuster. And he is still the owner of a handful of 24-Hour Fitness gyms in New York.

Indeed, that’s what more and more athletes—after they retire as well as while they’re still playing—want to do: be the idea guy. Rather than just endorsing a product, they want to start their own business or do early-stage seed investing in startups, and have a hand in their development. It’s why Josh Martin, a linebacker with the New York Jets, spent his last NFL offseason interning with a venture capital firm.