Shield AI, a San Diego defense tech startup, has raised $240 million in funding, boosting its valuation to $5.3 billion. This investment, led by major…