BART takes 30 minutes to get from Civic Center to SFO. Even without TSA pre-check, it takes less than 15 minutes to get through security. If you get through security 15 minutes before the plane leaves, that's 2.5 hours total travel time to LAX. From the same place in SF it takes 20-25 minutes to get to 4th & King. (Yes, Muni is that bad.) Let's say the train leaves 15 minutes after you arrive at the station. Then it will take 2 hours and 40 minutes to get to Union Station in LA. Total travel time: 3.25 hours. And again, the train cost is 5-10x that of a flight.
Edit: If you think my math about the long-term profitability of California High Speed Rail is incorrect, I'd love to see some numbers showing how it could be priced similarly to air travel. I was agnostic about CA HSR for a long time. I even voted for Proposition 1A back in 2008. But no matter how I crunch the numbers, it really seems like CA HSR is a boondoggle.