Ford Motor Co. is taking a $500 million stake in electric-truck startup Rivian Automotive, the latest example of a large auto maker betting on the emergence of battery-powered vehicles.

Ford said Wednesday the tie-up would include plans to co-develop a new plug-in electric model with Rivian, which plans to start selling an all-electric pickup truck in the U.S. late next year.

The No....