AMTRAK have trains going to Union Station in Los Angeles, from SOLANA BEACH.
From Union Station you will need take another locomotion way until LAX.
If it will be more than 2 people in the party, it will cost less MONEY and STRESS for you and the passengers to use a TAXI from SAN DIEGO thru LAX that will cost something in between $120~$200...