SpaceX had a net loss of $4.28 billion on revenue of $4.69 billion for the first quarter, compared with a net loss of $528 million on revenue of about $4 billion a year earlier, the filing shows.