Ford boosts investment plan for EVs and self driving vehicles, reports loss