Rivian is claiming increased material costs, but it may also be trying to avoid selling the vehicles at a loss.