You cannot drive directly from Alaska to California because there is no continuous road connection. Alaska is separated from the contiguous United States ("Lower 48") by Canada.
To drive between them, you must:
The shortest driving route from Anchorage to Los Angeles is roughly 4,800-5,000 km (3,000-3,100 miles) and takes 4-5 days of hard driving (or 7-10 days leisurely), including the Alaska Highway and Canadian/US interstates. You'll need a passport, vehicle insurance valid in Canada, and possibly a visa/eTA depending on citizenship.
Alternatively, ship your car via ferry (e.g., Alaska Marine Highway to Bellingham, WA) or barge, then drive from there.